diff --git a/go/porcelain/deploy_test.go b/go/porcelain/deploy_test.go index 9140a2a3..c85bcb69 100644 --- a/go/porcelain/deploy_test.go +++ b/go/porcelain/deploy_test.go @@ -87,8 +87,8 @@ func TestOpenAPIClientWithWeirdResponse(t *testing.T) { httpClient := http.DefaultClient authInfo := runtime.ClientAuthInfoWriterFunc(func(r runtime.ClientRequest, _ strfmt.Registry) error { - _ = r.SetHeaderParam("User-Agent", "buildbot") - _ = r.SetHeaderParam("Authorization", "Bearer 1234") + r.SetHeaderParam("User-Agent", "buildbot") + r.SetHeaderParam("Authorization", "Bearer 1234") return nil })