Skip to content

Commit

Permalink
Update client
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Sep 21, 2023
1 parent f335366 commit 5739100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nginx-ingress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func createPlusClient(nginxPlus bool, useFakeNginxManager bool, nginxManager ngi

if nginxPlus && !useFakeNginxManager {
httpClient := getSocketClient("/var/lib/nginx/nginx-plus-api.sock")
plusClient, err = client.NewNginxClient(httpClient, "http://nginx-plus-api/api")
plusClient, err = client.NewNginxClient("http://nginx-plus-api/api", client.WithHTTPClient(httpClient))
if err != nil {
glog.Fatalf("Failed to create NginxClient for Plus: %v", err)
}
Expand Down

0 comments on commit 5739100

Please sign in to comment.