{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/5917","repository_url":"https://api.github.com/repos/juju/juju","labels_url":"https://api.github.com/repos/juju/juju/issues/5917/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/5917/comments","events_url":"https://api.github.com/repos/juju/juju/issues/5917/events","html_url":"https://github.com/juju/juju/pull/5917","id":168943909,"number":5917,"title":"state: fix UpdateCloudCredentials for existing creds","user":{"login":"rogpeppe","id":66491,"avatar_url":"https://avatars.githubusercontent.com/u/66491?v=3","gravatar_id":"","url":"https://api.github.com/users/rogpeppe","html_url":"https://github.com/rogpeppe","followers_url":"https://api.github.com/users/rogpeppe/followers","following_url":"https://api.github.com/users/rogpeppe/following{/other_user}","gists_url":"https://api.github.com/users/rogpeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/rogpeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogpeppe/subscriptions","organizations_url":"https://api.github.com/users/rogpeppe/orgs","repos_url":"https://api.github.com/users/rogpeppe/repos","events_url":"https://api.github.com/users/rogpeppe/events{/privacy}","received_events_url":"https://api.github.com/users/rogpeppe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-02T17:36:23Z","updated_at":"2016-08-05T11:18:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/5917","html_url":"https://github.com/juju/juju/pull/5917","diff_url":"https://github.com/juju/juju/pull/5917.diff","patch_url":"https://github.com/juju/juju/pull/5917.patch"},"body":"state: fix UpdateCloudCredentials for existing creds\r\n\r\nUpdateCloudCredentials didn't work when there were existing\r\ncredentials with the same name.\r\n\r\nTo test this properly, we required different clouds with different\r\ncredentials, so we implement a CreateCloud method too.\r\n\r\nFixes https://bugs.launchpad.net/juju-core/+bug/1608421.\r\n\r\nPartially addresses https://bugs.launchpad.net/juju-core/+bug/1608494.\r\n\r\n(Review request: http://reviews.vapour.ws/r/5357/)"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/237825943","html_url":"https://github.com/juju/juju/pull/5917#issuecomment-237825943","issue_url":"https://api.github.com/repos/juju/juju/issues/5917","id":237825943,"user":{"login":"rogpeppe","id":66491,"avatar_url":"https://avatars.githubusercontent.com/u/66491?v=3","gravatar_id":"","url":"https://api.github.com/users/rogpeppe","html_url":"https://github.com/rogpeppe","followers_url":"https://api.github.com/users/rogpeppe/followers","following_url":"https://api.github.com/users/rogpeppe/following{/other_user}","gists_url":"https://api.github.com/users/rogpeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/rogpeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogpeppe/subscriptions","organizations_url":"https://api.github.com/users/rogpeppe/orgs","repos_url":"https://api.github.com/users/rogpeppe/repos","events_url":"https://api.github.com/users/rogpeppe/events{/privacy}","received_events_url":"https://api.github.com/users/rogpeppe/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T11:18:28Z","updated_at":"2016-08-05T11:18:28Z","body":"$$merge$$"}}
{"actor":{"display_login":"rogpeppe"}}