mirror of https://github.com/minio/minio.git
allow single drive mode to run on root disk (#15037)
for practical reasons, allow root disk based installs for single drive mode.
This commit is contained in:
parent
fb1c333a83
commit
5afdc56796
|
@ -214,7 +214,7 @@ func newXLStorage(ep Endpoint) (s *xlStorage, err error) {
|
|||
}
|
||||
|
||||
var rootDisk bool
|
||||
if !globalIsCICD {
|
||||
if !globalIsCICD && !globalIsErasureSD {
|
||||
if globalRootDiskThreshold > 0 {
|
||||
// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
|
||||
// this disk is a root disk.
|
||||
|
|
Loading…
Reference in New Issue