{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/28","id":88909676,"html_url":"https://github.com/openshift-evangelists/oc-cluster-wrapper/pull/28","diff_url":"https://github.com/openshift-evangelists/oc-cluster-wrapper/pull/28.diff","patch_url":"https://github.com/openshift-evangelists/oc-cluster-wrapper/pull/28.patch","issue_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues/28","number":28,"state":"closed","locked":false,"title":"Clean up the code a bit, remove duplication ","user":{"login":"bjartek","id":10621,"avatar_url":"https://avatars.githubusercontent.com/u/10621?v=3","gravatar_id":"","url":"https://api.github.com/users/bjartek","html_url":"https://github.com/bjartek","followers_url":"https://api.github.com/users/bjartek/followers","following_url":"https://api.github.com/users/bjartek/following{/other_user}","gists_url":"https://api.github.com/users/bjartek/gists{/gist_id}","starred_url":"https://api.github.com/users/bjartek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjartek/subscriptions","organizations_url":"https://api.github.com/users/bjartek/orgs","repos_url":"https://api.github.com/users/bjartek/repos","events_url":"https://api.github.com/users/bjartek/events{/privacy}","received_events_url":"https://api.github.com/users/bjartek/received_events","type":"User","site_admin":false},"body":"This is just a suggestion i felt was natural to do after all the other PR's i have sent in. I think the code is cleaner and more easier to understand this way. \r\n","created_at":"2016-10-11T20:56:42Z","updated_at":"2016-10-15T10:26:40Z","closed_at":"2016-10-15T10:26:40Z","merged_at":"2016-10-15T10:26:40Z","merge_commit_sha":"a158dff4b4d31d0ac24b6f09581e4055ff31f072","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/28/commits","review_comments_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/28/comments","review_comment_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues/28/comments","statuses_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/statuses/a2a40e920abae04c2dda721898bae1672741189b","head":{"label":"bjartek:clean-repetition","ref":"clean-repetition","sha":"a2a40e920abae04c2dda721898bae1672741189b","user":{"login":"bjartek","id":10621,"avatar_url":"https://avatars.githubusercontent.com/u/10621?v=3","gravatar_id":"","url":"https://api.github.com/users/bjartek","html_url":"https://github.com/bjartek","followers_url":"https://api.github.com/users/bjartek/followers","following_url":"https://api.github.com/users/bjartek/following{/other_user}","gists_url":"https://api.github.com/users/bjartek/gists{/gist_id}","starred_url":"https://api.github.com/users/bjartek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjartek/subscriptions","organizations_url":"https://api.github.com/users/bjartek/orgs","repos_url":"https://api.github.com/users/bjartek/repos","events_url":"https://api.github.com/users/bjartek/events{/privacy}","received_events_url":"https://api.github.com/users/bjartek/received_events","type":"User","site_admin":false},"repo":{"id":69789864,"name":"oc-cluster-wrapper","full_name":"bjartek/oc-cluster-wrapper","owner":{"login":"bjartek","id":10621,"avatar_url":"https://avatars.githubusercontent.com/u/10621?v=3","gravatar_id":"","url":"https://api.github.com/users/bjartek","html_url":"https://github.com/bjartek","followers_url":"https://api.github.com/users/bjartek/followers","following_url":"https://api.github.com/users/bjartek/following{/other_user}","gists_url":"https://api.github.com/users/bjartek/gists{/gist_id}","starred_url":"https://api.github.com/users/bjartek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjartek/subscriptions","organizations_url":"https://api.github.com/users/bjartek/orgs","repos_url":"https://api.github.com/users/bjartek/repos","events_url":"https://api.github.com/users/bjartek/events{/privacy}","received_events_url":"https://api.github.com/users/bjartek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjartek/oc-cluster-wrapper","description":"oc cluster up bash wrapper","fork":true,"url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper","forks_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/forks","keys_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/teams","hooks_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/hooks","issue_events_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/issues/events{/number}","events_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/events","assignees_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/assignees{/user}","branches_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/branches{/branch}","tags_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/tags","blobs_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/statuses/{sha}","languages_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/languages","stargazers_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/stargazers","contributors_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/contributors","subscribers_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/subscribers","subscription_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/subscription","commits_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/contents/{+path}","compare_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/merges","archive_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/downloads","issues_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/issues{/number}","pulls_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/pulls{/number}","milestones_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/milestones{/number}","notifications_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/labels{/name}","releases_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/releases{/id}","deployments_url":"https://api.github.com/repos/bjartek/oc-cluster-wrapper/deployments","created_at":"2016-10-02T09:49:34Z","updated_at":"2016-10-02T09:49:35Z","pushed_at":"2016-10-11T20:54:50Z","git_url":"git://github.com/bjartek/oc-cluster-wrapper.git","ssh_url":"git@github.com:bjartek/oc-cluster-wrapper.git","clone_url":"https://github.com/bjartek/oc-cluster-wrapper.git","svn_url":"https://github.com/bjartek/oc-cluster-wrapper","homepage":null,"size":47,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"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-evangelists:master","ref":"master","sha":"2dcc74c79d6d0c7280bbcbf82fa291238bc19c1e","user":{"login":"openshift-evangelists","id":7255537,"avatar_url":"https://avatars.githubusercontent.com/u/7255537?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-evangelists","html_url":"https://github.com/openshift-evangelists","followers_url":"https://api.github.com/users/openshift-evangelists/followers","following_url":"https://api.github.com/users/openshift-evangelists/following{/other_user}","gists_url":"https://api.github.com/users/openshift-evangelists/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-evangelists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-evangelists/subscriptions","organizations_url":"https://api.github.com/users/openshift-evangelists/orgs","repos_url":"https://api.github.com/users/openshift-evangelists/repos","events_url":"https://api.github.com/users/openshift-evangelists/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-evangelists/received_events","type":"Organization","site_admin":false},"repo":{"id":68647218,"name":"oc-cluster-wrapper","full_name":"openshift-evangelists/oc-cluster-wrapper","owner":{"login":"openshift-evangelists","id":7255537,"avatar_url":"https://avatars.githubusercontent.com/u/7255537?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-evangelists","html_url":"https://github.com/openshift-evangelists","followers_url":"https://api.github.com/users/openshift-evangelists/followers","following_url":"https://api.github.com/users/openshift-evangelists/following{/other_user}","gists_url":"https://api.github.com/users/openshift-evangelists/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-evangelists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-evangelists/subscriptions","organizations_url":"https://api.github.com/users/openshift-evangelists/orgs","repos_url":"https://api.github.com/users/openshift-evangelists/repos","events_url":"https://api.github.com/users/openshift-evangelists/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-evangelists/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift-evangelists/oc-cluster-wrapper","description":"oc cluster up bash wrapper","fork":false,"url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper","forks_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/forks","keys_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/teams","hooks_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/hooks","issue_events_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues/events{/number}","events_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/events","assignees_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/assignees{/user}","branches_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/branches{/branch}","tags_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/tags","blobs_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/languages","stargazers_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/stargazers","contributors_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/contributors","subscribers_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/subscribers","subscription_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/subscription","commits_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/contents/{+path}","compare_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/merges","archive_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/downloads","issues_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues{/number}","pulls_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/labels{/name}","releases_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/releases{/id}","deployments_url":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/deployments","created_at":"2016-09-19T21:12:57Z","updated_at":"2016-10-07T04:18:39Z","pushed_at":"2016-10-15T10:26:40Z","git_url":"git://github.com/openshift-evangelists/oc-cluster-wrapper.git","ssh_url":"git@github.com:openshift-evangelists/oc-cluster-wrapper.git","clone_url":"https://github.com/openshift-evangelists/oc-cluster-wrapper.git","svn_url":"https://github.com/openshift-evangelists/oc-cluster-wrapper","homepage":null,"size":43,"stargazers_count":6,"watchers_count":6,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":11,"forks":6,"open_issues":11,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/28"},"html":{"href":"https://github.com/openshift-evangelists/oc-cluster-wrapper/pull/28"},"issue":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues/28"},"comments":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/openshift-evangelists/oc-cluster-wrapper/statuses/a2a40e920abae04c2dda721898bae1672741189b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jorgemoralespou","id":78350,"avatar_url":"https://avatars.githubusercontent.com/u/78350?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgemoralespou","html_url":"https://github.com/jorgemoralespou","followers_url":"https://api.github.com/users/jorgemoralespou/followers","following_url":"https://api.github.com/users/jorgemoralespou/following{/other_user}","gists_url":"https://api.github.com/users/jorgemoralespou/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgemoralespou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgemoralespou/subscriptions","organizations_url":"https://api.github.com/users/jorgemoralespou/orgs","repos_url":"https://api.github.com/users/jorgemoralespou/repos","events_url":"https://api.github.com/users/jorgemoralespou/events{/privacy}","received_events_url":"https://api.github.com/users/jorgemoralespou/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":61,"deletions":80,"changed_files":1}}
{"actor":{"display_login":"jorgemoralespou"}}