diff --git a/vault/core.go b/vault/core.go index 85660f3faf40..86b4e9059e76 100644 --- a/vault/core.go +++ b/vault/core.go @@ -2308,6 +2308,7 @@ func (c *Core) sealInternalWithOptions(grabStateLock, keepHALock, performCleanup c.logger.Debug("runStandby done") } + stopPartialSealRewrapping(c) c.teardownReplicationResolverHandler() // Perform additional cleanup upon sealing. diff --git a/vault/seal_stubs_oss.go b/vault/seal_stubs_oss.go index 2c054d3651ad..518ab953fe18 100644 --- a/vault/seal_stubs_oss.go +++ b/vault/seal_stubs_oss.go @@ -20,6 +20,10 @@ func startPartialSealRewrapping(c *Core) { // nothing to do } +func stopPartialSealRewrapping(c *Core) { + // nothing to do +} + func GetPartiallySealWrappedPaths(ctx context.Context, backend physical.Backend) ([]string, error) { return nil, nil }