Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add macaroon support to csclient.Params #82

Merged
merged 2 commits into from Mar 30, 2016
Merged

add macaroon support to csclient.Params #82

merged 2 commits into from Mar 30, 2016

Conversation

natefinch
Copy link
Contributor

No description provided.

// A non-nil error here will get caught at request time when we try
// to parse the URL, and without a valid URL, the macaroons don't matter
// anyway.
if err == nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is bad. In discussion with Roger, it was decided that it was better to avoid a breaking change at this time (by forcing New to return an error), so we're just swallowing it for now, though as stated in the comment, the failure to parse would mean that requests will inevitably fail with the same parse failure, at which point, the use of macaroons is moot.

@jujugui
Copy link
Contributor

jujugui commented Mar 30, 2016

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://ci.jujugui.org:8080//job/charmrepo/225/
Test PASSed.

@jujugui
Copy link
Contributor

jujugui commented Mar 30, 2016

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://ci.jujugui.org:8080//job/charmrepo/226/
Test PASSed.

@ericsnowcurrently
Copy link
Contributor

LGTM

@natefinch
Copy link
Contributor Author

:shipit:

@jujugui
Copy link
Contributor

jujugui commented Mar 30, 2016

Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/charmrepo-merge

@jujugui jujugui merged commit a3aafe2 into juju:v2-unstable Mar 30, 2016
@natefinch natefinch deleted the mac-support branch March 30, 2016 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants