-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following updates the charmhub refresher to correctly handle charmhub vs charmstore function calls. Essentially because we don't have macaroons then we don't want to end up falling into the AddCharmWithAuthorization workflow. By removing the special case we can correctly reason about what the path the charmhub refresher will take. In an ideal world we would use a better pattern for dealing with this. Maybe resort to a stragtegy, but generally just embedding the functionality into two different types also resolves this.
- Loading branch information
1 parent
8a0d400
commit 8c23c9e
Showing
4 changed files
with
304 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.