mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
minio: Simplify for gosimple tool complaints.
This commit is contained in:
@@ -37,7 +37,7 @@ func getFSType(path string) (string, error) {
|
||||
}
|
||||
fsTypeHex := strconv.FormatUint(uint64(s.Type), 16)
|
||||
fsTypeString, ok := fsType2StringMap[fsTypeHex]
|
||||
if ok == false {
|
||||
if !ok {
|
||||
return "UNKNOWN", nil
|
||||
}
|
||||
return fsTypeString, nil
|
||||
|
||||
Reference in New Issue
Block a user