Skip to content

Commit

Permalink
Add stub for stopping partial wrap monitoring to CE (#24420)
Browse files Browse the repository at this point in the history
* Add stub for stopping partial wrap monitoring to CE

* Add call
  • Loading branch information
sgmiller authored Dec 7, 2023
1 parent 8963ae4 commit 889cca7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions vault/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions vault/seal_stubs_oss.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 889cca7

Please sign in to comment.