Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of fix: stale querystring parameter value as boolean into release/1.3.x #15653

Prev Previous commit
Next Next commit
backport of commit 62018ee
dttung2905 committed Dec 21, 2022
commit ad823ea19534b1682b956ff33b499ea0eea49bbb
2 changes: 1 addition & 1 deletion command/agent/http_test.go
Original file line number Diff line number Diff line change
@@ -500,7 +500,7 @@ func TestParseConsistency(t *testing.T) {
resp = httptest.NewRecorder()
parseConsistency(resp, req, &b)
if resp.Code != 400 {
t.Fatalf("Bad: %v. Expect response code 400, got %v", b, resp.Code)
t.Fatalf("bad code: %v", resp.Code)
}

b = structs.QueryOptions{}