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
+1 -4
View File
@@ -40,10 +40,7 @@ const (
// isMaxObjectSize - verify if max object size
func isMaxObjectSize(size int64) bool {
if size > maxObjectSize {
return true
}
return false
return size > maxObjectSize
}
func contains(stringList []string, element string) bool {