mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
parent
4a2928eb49
commit
e959c5d71c
@ -68,6 +68,9 @@ func newBgHealSequence() *healSequence {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getLocalBackgroundHealStatus() (madmin.BgHealState, bool) {
|
func getLocalBackgroundHealStatus() (madmin.BgHealState, bool) {
|
||||||
|
if globalBackgroundHealState == nil {
|
||||||
|
return madmin.BgHealState{}, false
|
||||||
|
}
|
||||||
bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
|
bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
|
||||||
if !ok {
|
if !ok {
|
||||||
return madmin.BgHealState{}, false
|
return madmin.BgHealState{}, false
|
||||||
|
Loading…
Reference in New Issue
Block a user