From 889cca71faedcb1391b942a8b2cac5f88abe0bc0 Mon Sep 17 00:00:00 2001 From: Scott Miller Date: Thu, 7 Dec 2023 12:16:11 -0600 Subject: [PATCH] Add stub for stopping partial wrap monitoring to CE (#24420) * Add stub for stopping partial wrap monitoring to CE * Add call --- vault/core.go | 1 + vault/seal_stubs_oss.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/vault/core.go b/vault/core.go index 020ca71ebcf8..86e3842f98ac 100644 --- a/vault/core.go +++ b/vault/core.go @@ -2315,6 +2315,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 7e68a9fa369a..2aeb0ff96c23 100644 --- a/vault/seal_stubs_oss.go +++ b/vault/seal_stubs_oss.go @@ -23,6 +23,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 }