Skip to content

Commit

Permalink
Fixed a golint error in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
gkvijay committed Sep 24, 2017
1 parent a2e4909 commit 1e6972b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/systemtests/aci_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ func aciHTTPGet(url string, jin, jout interface{}) error {
return err
}

if err := json.Unmarshal(response, jout); err != nil {
return err
}

return nil
return json.Unmarshal(response, jout)
}

// GetEPFromAPIC checks learning
Expand Down

0 comments on commit 1e6972b

Please sign in to comment.