Daniel Nephin
f1944458e4
ca: remove actingSecondaryCA
...
This commit removes the actingSecondaryCA field, and removes the stateLock around it. This field
was acting as a proxy for providerRoot != nil, so replace it with that check instead.
The two methods which called secondarySetCAConfigured already set the state, so checking the
state again at this point will not catch runtime errors (only programming errors, which we can catch with tests).
In general, handling state transitions should be done on the "entrypoint" methods where execution starts, not
in every internal method.
This is being done to remove some unnecessary references to c.state, in preparations for extracting
types for primary/secondary.
2021-11-26 14:14:47 -05:00
..
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-18 13:15:28 -07:00
2021-11-26 14:14:47 -05:00
2021-07-19 15:22:51 -07:00
2021-11-16 12:04:01 -06:00
2021-11-01 11:40:16 -04:00
2021-11-16 11:16:11 -08:00
2021-11-15 09:51:14 -06:00
2021-08-24 16:28:44 -05:00
2021-11-16 12:04:01 -06:00
2021-09-29 17:36:43 -04:00
2021-11-05 15:45:08 -04:00
2021-08-19 15:09:42 -05:00
2021-11-24 09:10:38 -05:00
2021-09-22 13:14:26 -05:00
2021-11-16 12:04:01 -06:00
2021-10-26 10:30:17 -04:00
2021-11-16 12:04:01 -06:00
2021-10-26 15:20:57 -04:00
2021-08-17 13:09:29 -04:00
2021-10-05 18:26:05 -04:00
2021-10-05 18:26:05 -04:00
2021-11-16 12:04:01 -06:00
2021-11-05 15:45:08 -04:00
2021-10-26 15:08:55 -05:00
2021-11-16 12:04:01 -06:00
2021-11-19 11:50:44 -05:00
2021-11-19 11:50:44 -05:00
2021-11-16 12:04:01 -06:00
2021-11-04 13:07:54 -07:00
2021-11-18 14:44:20 -06:00
2021-11-16 12:04:01 -06:00
2021-09-03 08:37:23 -04:00
2021-11-01 16:42:01 +00:00
2021-11-01 16:42:01 +00:00
2021-09-16 14:39:01 -06:00
2021-07-05 19:15:44 -04:00
2021-11-02 11:02:10 -07:00
2021-11-15 09:51:14 -06:00
2021-09-03 08:37:23 -04:00
2021-10-26 15:08:55 -05:00
2021-10-26 23:35:21 -06:00
2021-11-16 12:04:01 -06:00
2021-10-29 17:09:20 -04:00
2021-10-29 17:09:20 -04:00
2021-11-16 12:04:01 -06:00
2021-09-21 17:57:29 -04:00
2021-07-30 14:55:35 -04:00
2021-06-28 17:23:14 -04:00
2021-05-06 13:19:45 -04:00
2021-10-09 17:12:52 -04:00
2021-11-16 12:04:01 -06:00
2021-11-23 19:32:18 -05:00
2021-07-14 18:58:16 -04:00
2021-09-03 09:12:03 -04:00
2021-11-16 12:04:01 -06:00
2021-10-01 13:18:57 -04:00
2021-11-23 19:32:18 -05:00
2021-04-14 16:20:22 -04:00
2021-04-14 16:20:22 -04:00
2021-10-28 14:38:57 -04:00
2021-10-27 16:26:09 -04:00
2021-11-16 12:04:01 -06:00
2021-07-06 18:39:40 -04:00
2021-11-15 09:51:14 -06:00
2021-08-20 14:34:23 -05:00
2021-10-26 15:08:55 -05:00
2021-11-04 13:07:54 -07:00
2021-08-20 12:57:45 -04:00
2021-11-16 12:04:01 -06:00
2021-10-27 16:26:09 -04:00
2021-07-26 17:12:29 -04:00
2021-08-19 15:09:42 -05:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-01 11:40:16 -04:00
2021-10-08 10:31:50 -07:00
2021-11-08 16:20:50 -05:00
2021-08-19 15:09:42 -05:00
2021-11-16 12:04:01 -06:00
2021-08-26 14:06:49 -04:00
2021-09-29 11:48:38 -04:00
2021-09-21 17:57:29 -04:00
2021-08-19 15:09:42 -05:00
2021-11-04 13:07:54 -07:00
2021-11-04 13:07:54 -07:00