mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
backport of commit 5123ea933a (#23506)
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1e137ae6f4
commit
3e1db00ff4
@@ -718,7 +718,7 @@ func (c *Core) HAState() consts.HAState {
|
||||
|
||||
func (c *Core) HAStateWithLock() consts.HAState {
|
||||
c.stateLock.RLock()
|
||||
c.stateLock.RUnlock()
|
||||
defer c.stateLock.RUnlock()
|
||||
|
||||
return c.HAState()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user