mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03: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