Skip to content

Commit

Permalink
Merge 70c9b36 into backport/stale-query-string-param-boolean/accurate…
Browse files Browse the repository at this point in the history
…ly-bursting-ape
  • Loading branch information
hc-github-team-nomad-core authored Jan 3, 2023
2 parents aa7f230 + 70c9b36 commit 7741843
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 7741843

Please sign in to comment.