Fix build

This commit is contained in:
Vishal Nayak
2020-10-26 18:14:01 -04:00
parent 923bfc9765
commit 96b1aa9929

View File

@@ -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()