mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
Code cleanup - simplify server side code. (#3870)
Fix all the issues reported by `gosimple` tool.
This commit is contained in:
@@ -1184,7 +1184,7 @@ func TestSetConfigHandler(t *testing.T) {
|
||||
t.Fatalf("Failed to decode set config result json %v", err)
|
||||
}
|
||||
|
||||
if result.Status != true {
|
||||
if !result.Status {
|
||||
t.Error("Expected set-config to succeed, but failed")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user