Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit d64d3d8

Browse files
committed
DEV-52044 Add http proxy for argus
1 parent 302f10c commit d64d3d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/argus.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ func newLMClient(argusConfig *config.Config) (*client.LMSdkGo, error) {
4848
if argusConfig.ProxyURL == "" {
4949
return client.New(config), nil
5050
}
51-
return newLMClientProxy(config, argusConfig.ProxyURL)
51+
return newLMClientWithProxy(config, argusConfig.ProxyURL)
5252
}
5353

54-
func newLMClientProxy(config *client.Config, proxyURLStr string) (*client.LMSdkGo, error) {
54+
func newLMClientWithProxy(config *client.Config, proxyURLStr string) (*client.LMSdkGo, error) {
5555
proxyURL, err := url.Parse(proxyURLStr)
5656
if err != nil {
5757
return nil, err

0 commit comments

Comments
 (0)