Skip to content

Commit

Permalink
fix: test proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Mar 27, 2024
1 parent 512056f commit dd1e8f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/api/v1/client/proxy_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ func (t ProxyClient[A]) GetFile(uri, fileName, destination string, params map[st
func (t ProxyClient[A]) getProxy(requestType string) *rest.Request {
return t.client.CoreV1().RESTClient().Verb(requestType).
Namespace(t.config.Namespace).
Resource("services").
// Resource("services").
SetHeader("Content-Type", "application/json").
Name(fmt.Sprintf("%s:%d", t.config.ServiceName, t.config.ServicePort)).
SubResource("proxy")
Name(fmt.Sprintf("%s:%d", t.config.ServiceName, t.config.ServicePort))
// SubResource("proxy")
}

func (t ProxyClient[A]) getFromResponse(resp rest.Result) (result A, err error) {
Expand Down

0 comments on commit dd1e8f4

Please sign in to comment.