Skip to content

Commit d5a2082

Browse files
committed
Fix VCFA config url
Signed-off-by: Ferran Rodenas <[email protected]>
1 parent 120c582 commit d5a2082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vra/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func isVCFA(url string, insecure bool) (bool, error) {
180180
return false, fmt.Errorf("error creating an http transport: %s", err)
181181
}
182182
client := &http.Client{Transport: transport}
183-
response, err := client.Get(fmt.Sprintf("%s://%s/config.json", parsedURL.Scheme, parsedURL.Host))
183+
response, err := client.Get(fmt.Sprintf("%s://%s/automation/config.json", parsedURL.Scheme, parsedURL.Host))
184184
if err != nil {
185185
return false, fmt.Errorf("error retrieving the configuration from url %s: %s", url, err)
186186
}

0 commit comments

Comments
 (0)