Skip to content

Commit

Permalink
Merge pull request #566 from vmware/fix-vcfa-url
Browse files Browse the repository at this point in the history
Fix VCFA config url
  • Loading branch information
frodenas authored Feb 3, 2025
2 parents 7ea4981 + d5a2082 commit 411c2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vra/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func isVCFA(url string, insecure bool) (bool, error) {
return false, fmt.Errorf("error creating an http transport: %s", err)
}
client := &http.Client{Transport: transport}
response, err := client.Get(fmt.Sprintf("%s://%s/config.json", parsedURL.Scheme, parsedURL.Host))
response, err := client.Get(fmt.Sprintf("%s://%s/automation/config.json", parsedURL.Scheme, parsedURL.Host))
if err != nil {
return false, fmt.Errorf("error retrieving the configuration from url %s: %s", url, err)
}
Expand Down

0 comments on commit 411c2a8

Please sign in to comment.