{"action":"closed","number":10623,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10623","id":82649608,"html_url":"https://github.com/openshift/origin/pull/10623","diff_url":"https://github.com/openshift/origin/pull/10623.diff","patch_url":"https://github.com/openshift/origin/pull/10623.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/10623","number":10623,"state":"closed","locked":false,"title":"Replace \"switch/case\" with \"ifs\"","user":{"login":"zhaosijun","id":20486443,"avatar_url":"https://avatars.githubusercontent.com/u/20486443?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaosijun","html_url":"https://github.com/zhaosijun","followers_url":"https://api.github.com/users/zhaosijun/followers","following_url":"https://api.github.com/users/zhaosijun/following{/other_user}","gists_url":"https://api.github.com/users/zhaosijun/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaosijun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaosijun/subscriptions","organizations_url":"https://api.github.com/users/zhaosijun/orgs","repos_url":"https://api.github.com/users/zhaosijun/repos","events_url":"https://api.github.com/users/zhaosijun/events{/privacy}","received_events_url":"https://api.github.com/users/zhaosijun/received_events","type":"User","site_admin":false},"body":"I think code here using \"switch/case\" like code in \"case deployapi.DeploymentStatusPending, deployapi.DeploymentStatusRunning:\" maybe be a little more favorable.","created_at":"2016-08-25T02:50:13Z","updated_at":"2016-08-25T05:55:28Z","closed_at":"2016-08-25T05:55:28Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/10623/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/10623/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10623/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/d9c2961b250c902c74c1dd613af4be3c19491645","head":{"label":"zhaosijun:deploymentModify2","ref":"deploymentModify2","sha":"d9c2961b250c902c74c1dd613af4be3c19491645","user":{"login":"zhaosijun","id":20486443,"avatar_url":"https://avatars.githubusercontent.com/u/20486443?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaosijun","html_url":"https://github.com/zhaosijun","followers_url":"https://api.github.com/users/zhaosijun/followers","following_url":"https://api.github.com/users/zhaosijun/following{/other_user}","gists_url":"https://api.github.com/users/zhaosijun/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaosijun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaosijun/subscriptions","organizations_url":"https://api.github.com/users/zhaosijun/orgs","repos_url":"https://api.github.com/users/zhaosijun/repos","events_url":"https://api.github.com/users/zhaosijun/events{/privacy}","received_events_url":"https://api.github.com/users/zhaosijun/received_events","type":"User","site_admin":false},"repo":{"id":63470572,"name":"origin","full_name":"zhaosijun/origin","owner":{"login":"zhaosijun","id":20486443,"avatar_url":"https://avatars.githubusercontent.com/u/20486443?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaosijun","html_url":"https://github.com/zhaosijun","followers_url":"https://api.github.com/users/zhaosijun/followers","following_url":"https://api.github.com/users/zhaosijun/following{/other_user}","gists_url":"https://api.github.com/users/zhaosijun/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaosijun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaosijun/subscriptions","organizations_url":"https://api.github.com/users/zhaosijun/orgs","repos_url":"https://api.github.com/users/zhaosijun/repos","events_url":"https://api.github.com/users/zhaosijun/events{/privacy}","received_events_url":"https://api.github.com/users/zhaosijun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhaosijun/origin","description":"Enterprise-Ready Kubernetes for Developers","fork":true,"url":"https://api.github.com/repos/zhaosijun/origin","forks_url":"https://api.github.com/repos/zhaosijun/origin/forks","keys_url":"https://api.github.com/repos/zhaosijun/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhaosijun/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhaosijun/origin/teams","hooks_url":"https://api.github.com/repos/zhaosijun/origin/hooks","issue_events_url":"https://api.github.com/repos/zhaosijun/origin/issues/events{/number}","events_url":"https://api.github.com/repos/zhaosijun/origin/events","assignees_url":"https://api.github.com/repos/zhaosijun/origin/assignees{/user}","branches_url":"https://api.github.com/repos/zhaosijun/origin/branches{/branch}","tags_url":"https://api.github.com/repos/zhaosijun/origin/tags","blobs_url":"https://api.github.com/repos/zhaosijun/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhaosijun/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhaosijun/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhaosijun/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhaosijun/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/zhaosijun/origin/languages","stargazers_url":"https://api.github.com/repos/zhaosijun/origin/stargazers","contributors_url":"https://api.github.com/repos/zhaosijun/origin/contributors","subscribers_url":"https://api.github.com/repos/zhaosijun/origin/subscribers","subscription_url":"https://api.github.com/repos/zhaosijun/origin/subscription","commits_url":"https://api.github.com/repos/zhaosijun/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhaosijun/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhaosijun/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhaosijun/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhaosijun/origin/contents/{+path}","compare_url":"https://api.github.com/repos/zhaosijun/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhaosijun/origin/merges","archive_url":"https://api.github.com/repos/zhaosijun/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhaosijun/origin/downloads","issues_url":"https://api.github.com/repos/zhaosijun/origin/issues{/number}","pulls_url":"https://api.github.com/repos/zhaosijun/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/zhaosijun/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/zhaosijun/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhaosijun/origin/labels{/name}","releases_url":"https://api.github.com/repos/zhaosijun/origin/releases{/id}","deployments_url":"https://api.github.com/repos/zhaosijun/origin/deployments","created_at":"2016-07-16T07:11:23Z","updated_at":"2016-07-16T07:11:31Z","pushed_at":"2016-08-25T05:55:28Z","git_url":"git://github.com/zhaosijun/origin.git","ssh_url":"git@github.com:zhaosijun/origin.git","clone_url":"https://github.com/zhaosijun/origin.git","svn_url":"https://github.com/zhaosijun/origin","homepage":"http://www.openshift.org","size":322275,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"d8ffc419cc1fa094a808e29ac8856e4787eb8a41","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"Enterprise-Ready Kubernetes for Developers","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/origin/deployments","created_at":"2014-07-30T20:04:05Z","updated_at":"2016-08-25T03:45:57Z","pushed_at":"2016-08-25T04:35:59Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":571806,"stargazers_count":1627,"watchers_count":1627,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1027,"mirror_url":null,"open_issues_count":1075,"forks":1027,"open_issues":1075,"watchers":1627,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/10623"},"html":{"href":"https://github.com/openshift/origin/pull/10623"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/10623"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/10623/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/10623/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/10623/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/d9c2961b250c902c74c1dd613af4be3c19491645"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":28,"deletions":28,"changed_files":1}}
{"actor":{"display_login":"zhaosijun"}}