Code cleanup - simplify server side code. (#3870)

Fix all the issues reported by `gosimple` tool.
This commit is contained in:
Harshavardhana
2017-03-08 10:00:47 -08:00
committed by GitHub
parent 433225ab0d
commit 47ac410ab0
14 changed files with 21 additions and 52 deletions
+1 -1
View File
@@ -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")
}
}