mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user