Skip to content

Commit 1e39cea

Browse files
committed
fix wrong vsrm client init
fixes #34 fixes #31 Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 6375e61 commit 1e39cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-devops-client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (c *AzureDevopsClient) restVsrm() *resty.Client {
114114
if c.restClientVsrm == nil {
115115
c.restClientVsrm = resty.New()
116116
if c.HostUrl != nil {
117-
c.restClient.SetHostURL(*c.HostUrl)
117+
c.restClientVsrm.SetHostURL(*c.HostUrl)
118118
} else {
119119
c.restClientVsrm.SetHostURL(fmt.Sprintf("https://vsrm.dev.azure.com/%v/", *c.organization))
120120
}

0 commit comments

Comments
 (0)