Skip to content

Commit

Permalink
use ptr
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Ilario <filario@redhat.com>
  • Loading branch information
filariow committed Jul 22, 2024
1 parent f362ac5 commit 3b7d1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ func (s *TestProxySuite) checkProxyOK(fakeApp *fake.ProxyFakeApp, p *Proxy, publ
"Authorization": {"Bearer clusterSAToken"},
"Impersonate-User": {"smith3"},
},
ExpectedResponse: &[]string{"unable to get target cluster: user is not provisioned (yet)"}[0],
ExpectedResponse: ptr("unable to get target cluster: user is not provisioned (yet)"),
ExpectedProxyResponseStatus: http.StatusInternalServerError,
},
"proxy plain http actual request": {
Expand Down

0 comments on commit 3b7d1c2

Please sign in to comment.