mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
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:
+1
-1
@@ -214,7 +214,7 @@ func newXLStorage(ep Endpoint) (s *xlStorage, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var rootDisk bool
|
var rootDisk bool
|
||||||
if !globalIsCICD {
|
if !globalIsCICD && !globalIsErasureSD {
|
||||||
if globalRootDiskThreshold > 0 {
|
if globalRootDiskThreshold > 0 {
|
||||||
// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
|
// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
|
||||||
// this disk is a root disk.
|
// this disk is a root disk.
|
||||||
|
|||||||
Reference in New Issue
Block a user