Skip to content

Commit

Permalink
backport of commit 70c9b36
Browse files Browse the repository at this point in the history
  • Loading branch information
dttung2905 committed Dec 24, 2022
1 parent 20cb793 commit c9e16bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func TestParseConsistency(t *testing.T) {
resp = httptest.NewRecorder()
parseConsistency(resp, req, &b)
must.False(t, b.AllowStale)
must.EqOp(t, resp.Code, 400)
must.EqOp(t, 400, resp.Code)

b = structs.QueryOptions{}
req, err = http.NewRequest("GET", "/v1/catalog/nodes?consistent", nil)
Expand Down

0 comments on commit c9e16bd

Please sign in to comment.