fix: server panic in FS mode (#10455)

fixes #10454
master
Harshavardhana 4 years ago committed by GitHub
parent 4a2928eb49
commit e959c5d71c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmd/global-heal.go

@ -68,6 +68,9 @@ func newBgHealSequence() *healSequence {
}
func getLocalBackgroundHealStatus() (madmin.BgHealState, bool) {
if globalBackgroundHealState == nil {
return madmin.BgHealState{}, false
}
bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
if !ok {
return madmin.BgHealState{}, false

Loading…
Cancel
Save