backport of commit dd1d0f31a2988006c8d31295440ac489ebb9b575 (#25225)
Co-authored-by: Scott Miller <smiller@hashicorp.com>
This commit is contained in:
parent
4cd7559c81
commit
83435c3106
@ -3467,6 +3467,8 @@ func (c *Core) checkBarrierAutoRotate(ctx context.Context) {
|
||||
lf := c.logger.Error
|
||||
if strings.HasSuffix(err.Error(), "context canceled") {
|
||||
lf = c.logger.Debug
|
||||
} else if strings.HasSuffix(err.Error(), "context deadline exceeded") {
|
||||
lf = c.logger.Warn
|
||||
}
|
||||
lf("error in barrier auto rotation", "error", err)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user