in getOnlineDisks wait for disks to be populated (#10685)

master
Klaus Post 4 years ago committed by GitHub
parent 2042d4873c
commit 3820a905e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cmd/erasure-common.go

@ -65,6 +65,7 @@ func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
mu.Unlock()
}()
}
wg.Wait()
return newDisks
}

Loading…
Cancel
Save