mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
Fix build
This commit is contained in:
@@ -137,7 +137,7 @@ func getSysHealth(core *vault.Core, r *http.Request) (int, *HealthResponse, erro
|
|||||||
|
|
||||||
// Check system status
|
// Check system status
|
||||||
sealed := core.Sealed()
|
sealed := core.Sealed()
|
||||||
standby, perfStandby := core.HealthParams()
|
standby, perfStandby := core.StandbyStates()
|
||||||
var replicationState consts.ReplicationState
|
var replicationState consts.ReplicationState
|
||||||
if standby {
|
if standby {
|
||||||
replicationState = core.ActiveNodeReplicationState()
|
replicationState = core.ActiveNodeReplicationState()
|
||||||
|
|||||||
Reference in New Issue
Block a user