add missing state reset when stopping ca manager
This commit is contained in:
parent
68d5f7769a
commit
a0320169fe
|
@ -278,8 +278,11 @@ func (c *CAManager) Stop() {
|
|||
needsStop.Stop()
|
||||
}
|
||||
}
|
||||
c.setCAProvider(nil, nil)
|
||||
|
||||
c.setState(caStateUninitialized, false)
|
||||
c.primaryRoots = structs.IndexedCARoots{}
|
||||
c.actingSecondaryCA = false
|
||||
c.setCAProvider(nil, nil)
|
||||
}
|
||||
|
||||
func (c *CAManager) startPostInitializeRoutines(ctx context.Context) {
|
||||
|
|
Loading…
Reference in New Issue