mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
in getOnlineDisks wait for disks to be populated (#10685)
This commit is contained in:
parent
2042d4873c
commit
3820a905e0
@ -65,6 +65,7 @@ func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
|
||||
mu.Unlock()
|
||||
}()
|
||||
}
|
||||
wg.Wait()
|
||||
return newDisks
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user