minio: Simplify for gosimple tool complaints.

This commit is contained in:
Harshavardhana
2016-04-02 17:28:54 -07:00
parent ba3a5805c1
commit 6037fe66e9
4 changed files with 5 additions and 8 deletions

View File

@@ -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