Some cleanup based on goreportcard linters (#517)

This commit is contained in:
Danny Lockard
2018-10-02 13:54:10 -05:00
committed by Victor Vrantchan
parent c146e224d7
commit f45a0469f0
14 changed files with 20 additions and 22 deletions

View File

@@ -109,7 +109,7 @@ func TestNext_Idle(t *testing.T) {
CommandUUID: "xCmd",
Status: "Idle",
}
for i, _ := range dc.Commands {
for i := range dc.Commands {
cmd, err := store.nextCommand(ctx, resp)
if err != nil {
t.Fatalf("expected nil, but got err: %s", err)