Skip to content

Commit

Permalink
Merge pull request #12897 from achilleasa/2.9-use-production-ch-endpoint
Browse files Browse the repository at this point in the history
#12897

This PR reverts cbbabe8 and ensures we use the production charmhub API endpoint unless overridden by the user.
  • Loading branch information
jujubot authored Apr 19, 2021
2 parents f2b4ec0 + 7c9c586 commit 7ae24ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions charmhub/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ import (
// An alternate location can be configured by changing the URL
// field in the Params struct.
const (
// TODO(2.9) - use staging API until bases are supported in production
CharmHubServerURL = "https://api.staging.charmhub.io"
CharmHubServerURL = "https://api.charmhub.io"
CharmHubServerVersion = "v2"
CharmHubServerEntity = "charms"

Expand Down

0 comments on commit 7ae24ca

Please sign in to comment.