mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
in getOnlineDisks wait for disks to be populated (#10685)
This commit is contained in:
@@ -65,6 +65,7 @@ func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
|
|||||||
mu.Unlock()
|
mu.Unlock()
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
wg.Wait()
|
||||||
return newDisks
|
return newDisks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user