mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-11 01:42:06 -04:00
core: Log if an error is returned from postSealMigration (#7675)
This commit is contained in:
parent
c489f8d324
commit
19328c8f2e
1 changed files with 3 additions and 1 deletions
|
|
@ -1743,7 +1743,9 @@ func (c *Core) postUnseal(ctx context.Context, ctxCancelFunc context.CancelFunc,
|
|||
|
||||
if atomic.LoadUint32(c.sealMigrated) == 1 {
|
||||
defer func() { atomic.StoreUint32(c.sealMigrated, 0) }()
|
||||
c.postSealMigration(ctx)
|
||||
if err := c.postSealMigration(ctx); err != nil {
|
||||
c.logger.Warn("post-unseal post seal migration failed", "error", err)
|
||||
}
|
||||
}
|
||||
|
||||
c.logger.Info("post-unseal setup complete")
|
||||
|
|
|
|||
Loading…
Reference in a new issue