{"action":"closed","number":78,"pull_request":{"url":"https://api.github.com/repos/99designs/aws-vault/pulls/78","id":80407694,"html_url":"https://github.com/99designs/aws-vault/pull/78","diff_url":"https://github.com/99designs/aws-vault/pull/78.diff","patch_url":"https://github.com/99designs/aws-vault/pull/78.patch","issue_url":"https://api.github.com/repos/99designs/aws-vault/issues/78","number":78,"state":"closed","locked":false,"title":"prompt flag writes to globals.PromptDriver","user":{"login":"pda","id":15759,"avatar_url":"https://avatars.githubusercontent.com/u/15759?v=3","gravatar_id":"","url":"https://api.github.com/users/pda","html_url":"https://github.com/pda","followers_url":"https://api.github.com/users/pda/followers","following_url":"https://api.github.com/users/pda/following{/other_user}","gists_url":"https://api.github.com/users/pda/gists{/gist_id}","starred_url":"https://api.github.com/users/pda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pda/subscriptions","organizations_url":"https://api.github.com/users/pda/orgs","repos_url":"https://api.github.com/users/pda/repos","events_url":"https://api.github.com/users/pda/events{/privacy}","received_events_url":"https://api.github.com/users/pda/received_events","type":"User","site_admin":false},"body":"Broken by https://github.com/99designs/aws-vault/pull/74\n\nWith `Enum` (return the value) rather than `EnumVar` (write to var), `PromptDriver` never gets set, causing this error:\n\n```\npanic: Prompt method \"\" doesn't exist\n\ngoroutine 1 [running]:\npanic(0x44bcb00, 0xc82000fcf0)\n        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6\ngithub.com/99designs/aws-vault/prompt.Method(0x0, 0x0, 0xc8200e1450)\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/prompt/prompt.go:22 +0x1b1\nmain.configureLoginCommand.func1(0xc820082cf0, 0x0, 0x0)\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/main.go:185 +0x5e\ngithub.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin%2ev2.(*actionMixin).applyActions(0xc8200c4498, 0xc820082cf0, 0x0, 0x0)\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin.v2/actions.go:28 +0x7b\ngithub.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin%2ev2.(*Application).applyActions(0xc82008e780, 0xc820082cf0, 0x0, 0x0)\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin.v2/app.go:554 +0x161\ngithub.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin%2ev2.(*Application).execute(0xc82008e780, 0xc820082cf0, 0xc82000fc80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin.v2/app.go:390 +0x108\ngithub.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin%2ev2.(*Application).Parse(0xc82008e780, 0xc82000a1a0, 0x4, 0x4, 0x0, 0x0, 0x0, 0x0)\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/vendor/gopkg.in/alecthomas/kingpin.v2/app.go:222 +0x447\nmain.main()\n        /Users/pda/code/go/src/github.com/99designs/aws-vault/main.go:243 +0x1177\n```","created_at":"2016-08-08T07:53:27Z","updated_at":"2016-08-09T08:14:01Z","closed_at":"2016-08-09T08:14:01Z","merged_at":"2016-08-09T08:14:01Z","merge_commit_sha":"b9c38cc78cf4eb2e9b66f9787d84780a15022b71","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/99designs/aws-vault/pulls/78/commits","review_comments_url":"https://api.github.com/repos/99designs/aws-vault/pulls/78/comments","review_comment_url":"https://api.github.com/repos/99designs/aws-vault/pulls/comments{/number}","comments_url":"https://api.github.com/repos/99designs/aws-vault/issues/78/comments","statuses_url":"https://api.github.com/repos/99designs/aws-vault/statuses/69bf23b921017cde9f147d6e1241d3664ea666a1","head":{"label":"99designs:prompt-flag-fix","ref":"prompt-flag-fix","sha":"69bf23b921017cde9f147d6e1241d3664ea666a1","user":{"login":"99designs","id":17182,"avatar_url":"https://avatars.githubusercontent.com/u/17182?v=3","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"repo":{"id":40539602,"name":"aws-vault","full_name":"99designs/aws-vault","owner":{"login":"99designs","id":17182,"avatar_url":"https://avatars.githubusercontent.com/u/17182?v=3","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/99designs/aws-vault","description":"A vault for securely storing and accessing AWS credentials in development environments","fork":false,"url":"https://api.github.com/repos/99designs/aws-vault","forks_url":"https://api.github.com/repos/99designs/aws-vault/forks","keys_url":"https://api.github.com/repos/99designs/aws-vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/99designs/aws-vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/99designs/aws-vault/teams","hooks_url":"https://api.github.com/repos/99designs/aws-vault/hooks","issue_events_url":"https://api.github.com/repos/99designs/aws-vault/issues/events{/number}","events_url":"https://api.github.com/repos/99designs/aws-vault/events","assignees_url":"https://api.github.com/repos/99designs/aws-vault/assignees{/user}","branches_url":"https://api.github.com/repos/99designs/aws-vault/branches{/branch}","tags_url":"https://api.github.com/repos/99designs/aws-vault/tags","blobs_url":"https://api.github.com/repos/99designs/aws-vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/99designs/aws-vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/99designs/aws-vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/99designs/aws-vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/99designs/aws-vault/statuses/{sha}","languages_url":"https://api.github.com/repos/99designs/aws-vault/languages","stargazers_url":"https://api.github.com/repos/99designs/aws-vault/stargazers","contributors_url":"https://api.github.com/repos/99designs/aws-vault/contributors","subscribers_url":"https://api.github.com/repos/99designs/aws-vault/subscribers","subscription_url":"https://api.github.com/repos/99designs/aws-vault/subscription","commits_url":"https://api.github.com/repos/99designs/aws-vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/99designs/aws-vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/99designs/aws-vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/99designs/aws-vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/99designs/aws-vault/contents/{+path}","compare_url":"https://api.github.com/repos/99designs/aws-vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/99designs/aws-vault/merges","archive_url":"https://api.github.com/repos/99designs/aws-vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/99designs/aws-vault/downloads","issues_url":"https://api.github.com/repos/99designs/aws-vault/issues{/number}","pulls_url":"https://api.github.com/repos/99designs/aws-vault/pulls{/number}","milestones_url":"https://api.github.com/repos/99designs/aws-vault/milestones{/number}","notifications_url":"https://api.github.com/repos/99designs/aws-vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/99designs/aws-vault/labels{/name}","releases_url":"https://api.github.com/repos/99designs/aws-vault/releases{/id}","deployments_url":"https://api.github.com/repos/99designs/aws-vault/deployments","created_at":"2015-08-11T12:09:34Z","updated_at":"2016-08-08T02:57:06Z","pushed_at":"2016-08-09T08:14:01Z","git_url":"git://github.com/99designs/aws-vault.git","ssh_url":"git@github.com:99designs/aws-vault.git","clone_url":"https://github.com/99designs/aws-vault.git","svn_url":"https://github.com/99designs/aws-vault","homepage":null,"size":7480,"stargazers_count":246,"watchers_count":246,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":246,"default_branch":"master"}},"base":{"label":"99designs:master","ref":"master","sha":"946d1a425e034b40fe30204fd2d34aef09f22833","user":{"login":"99designs","id":17182,"avatar_url":"https://avatars.githubusercontent.com/u/17182?v=3","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"repo":{"id":40539602,"name":"aws-vault","full_name":"99designs/aws-vault","owner":{"login":"99designs","id":17182,"avatar_url":"https://avatars.githubusercontent.com/u/17182?v=3","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/99designs/aws-vault","description":"A vault for securely storing and accessing AWS credentials in development environments","fork":false,"url":"https://api.github.com/repos/99designs/aws-vault","forks_url":"https://api.github.com/repos/99designs/aws-vault/forks","keys_url":"https://api.github.com/repos/99designs/aws-vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/99designs/aws-vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/99designs/aws-vault/teams","hooks_url":"https://api.github.com/repos/99designs/aws-vault/hooks","issue_events_url":"https://api.github.com/repos/99designs/aws-vault/issues/events{/number}","events_url":"https://api.github.com/repos/99designs/aws-vault/events","assignees_url":"https://api.github.com/repos/99designs/aws-vault/assignees{/user}","branches_url":"https://api.github.com/repos/99designs/aws-vault/branches{/branch}","tags_url":"https://api.github.com/repos/99designs/aws-vault/tags","blobs_url":"https://api.github.com/repos/99designs/aws-vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/99designs/aws-vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/99designs/aws-vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/99designs/aws-vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/99designs/aws-vault/statuses/{sha}","languages_url":"https://api.github.com/repos/99designs/aws-vault/languages","stargazers_url":"https://api.github.com/repos/99designs/aws-vault/stargazers","contributors_url":"https://api.github.com/repos/99designs/aws-vault/contributors","subscribers_url":"https://api.github.com/repos/99designs/aws-vault/subscribers","subscription_url":"https://api.github.com/repos/99designs/aws-vault/subscription","commits_url":"https://api.github.com/repos/99designs/aws-vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/99designs/aws-vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/99designs/aws-vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/99designs/aws-vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/99designs/aws-vault/contents/{+path}","compare_url":"https://api.github.com/repos/99designs/aws-vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/99designs/aws-vault/merges","archive_url":"https://api.github.com/repos/99designs/aws-vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/99designs/aws-vault/downloads","issues_url":"https://api.github.com/repos/99designs/aws-vault/issues{/number}","pulls_url":"https://api.github.com/repos/99designs/aws-vault/pulls{/number}","milestones_url":"https://api.github.com/repos/99designs/aws-vault/milestones{/number}","notifications_url":"https://api.github.com/repos/99designs/aws-vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/99designs/aws-vault/labels{/name}","releases_url":"https://api.github.com/repos/99designs/aws-vault/releases{/id}","deployments_url":"https://api.github.com/repos/99designs/aws-vault/deployments","created_at":"2015-08-11T12:09:34Z","updated_at":"2016-08-08T02:57:06Z","pushed_at":"2016-08-09T08:14:01Z","git_url":"git://github.com/99designs/aws-vault.git","ssh_url":"git@github.com:99designs/aws-vault.git","clone_url":"https://github.com/99designs/aws-vault.git","svn_url":"https://github.com/99designs/aws-vault","homepage":null,"size":7480,"stargazers_count":246,"watchers_count":246,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/99designs/aws-vault/pulls/78"},"html":{"href":"https://github.com/99designs/aws-vault/pull/78"},"issue":{"href":"https://api.github.com/repos/99designs/aws-vault/issues/78"},"comments":{"href":"https://api.github.com/repos/99designs/aws-vault/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/99designs/aws-vault/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/99designs/aws-vault/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/99designs/aws-vault/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/99designs/aws-vault/statuses/69bf23b921017cde9f147d6e1241d3664ea666a1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lox","id":15758,"avatar_url":"https://avatars.githubusercontent.com/u/15758?v=3","gravatar_id":"","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"lox"}}