Skip to content

Commit

Permalink
Use singular form of the license API endpoint
Browse files Browse the repository at this point in the history
This works for both on-prem and SaaS versions.
  • Loading branch information
alexhung committed Jan 5, 2022
1 parent cf6e939 commit 108f7c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/projects/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func checkArtifactoryLicense(client *resty.Client) error {
licensesWrapper := LicensesWrapper{}
_, err := client.R().
SetResult(&licensesWrapper).
Get("/artifactory/api/system/licenses")
Get("/artifactory/api/system/license")

if err != nil {
return fmt.Errorf("Failed to check for license. %s", err)
Expand Down

0 comments on commit 108f7c7

Please sign in to comment.