Skip to content

Commit

Permalink
cmd: Fix checkResponse message typo (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: Joana Chavez <[email protected]>
  • Loading branch information
Joana Chavez authored and arekkas committed Aug 18, 2018
1 parent 032d88e commit 0d0e653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/helper_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func checkResponse(response *swagger.APIResponse, err error, expectedStatusCode
must(err, "A network error occurred: %s", err)

if response.StatusCode != expectedStatusCode {
fmt.Printf("Command failed because status code %d was expeceted but code %d was received", expectedStatusCode, response.StatusCode)
fmt.Printf("Command failed because status code %d was expected but code %d was received", expectedStatusCode, response.StatusCode)
os.Exit(1)
return
}
Expand Down

0 comments on commit 0d0e653

Please sign in to comment.