{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/8","id":34719661,"html_url":"https://github.com/customink/nagios-nrpe-check_glusterfs/pull/8","diff_url":"https://github.com/customink/nagios-nrpe-check_glusterfs/pull/8.diff","patch_url":"https://github.com/customink/nagios-nrpe-check_glusterfs/pull/8.patch","issue_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues/8","number":8,"state":"open","locked":false,"title":"Use pipeline with while loop is more logical, and reformat indentation.","user":{"login":"AAbouZaid","id":6760103,"avatar_url":"https://avatars.githubusercontent.com/u/6760103?v=3","gravatar_id":"","url":"https://api.github.com/users/AAbouZaid","html_url":"https://github.com/AAbouZaid","followers_url":"https://api.github.com/users/AAbouZaid/followers","following_url":"https://api.github.com/users/AAbouZaid/following{/other_user}","gists_url":"https://api.github.com/users/AAbouZaid/gists{/gist_id}","starred_url":"https://api.github.com/users/AAbouZaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AAbouZaid/subscriptions","organizations_url":"https://api.github.com/users/AAbouZaid/orgs","repos_url":"https://api.github.com/users/AAbouZaid/repos","events_url":"https://api.github.com/users/AAbouZaid/events{/privacy}","received_events_url":"https://api.github.com/users/AAbouZaid/received_events","type":"User","site_admin":false},"body":"Reformat indentation with 4 spaces (tabs are too wide), and use pipeline with while loop is more logical.","created_at":"2015-05-05T12:34:50Z","updated_at":"2015-05-05T12:34:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/8/commits","review_comments_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/8/comments","review_comment_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues/8/comments","statuses_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/statuses/79442be9b2171677e28d05daa8a0ec21e0b39549","head":{"label":"AAbouZaid:patch-1","ref":"patch-1","sha":"79442be9b2171677e28d05daa8a0ec21e0b39549","user":{"login":"AAbouZaid","id":6760103,"avatar_url":"https://avatars.githubusercontent.com/u/6760103?v=3","gravatar_id":"","url":"https://api.github.com/users/AAbouZaid","html_url":"https://github.com/AAbouZaid","followers_url":"https://api.github.com/users/AAbouZaid/followers","following_url":"https://api.github.com/users/AAbouZaid/following{/other_user}","gists_url":"https://api.github.com/users/AAbouZaid/gists{/gist_id}","starred_url":"https://api.github.com/users/AAbouZaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AAbouZaid/subscriptions","organizations_url":"https://api.github.com/users/AAbouZaid/orgs","repos_url":"https://api.github.com/users/AAbouZaid/repos","events_url":"https://api.github.com/users/AAbouZaid/events{/privacy}","received_events_url":"https://api.github.com/users/AAbouZaid/received_events","type":"User","site_admin":false},"repo":{"id":35098014,"name":"nagios-nrpe-check_glusterfs","full_name":"AAbouZaid/nagios-nrpe-check_glusterfs","owner":{"login":"AAbouZaid","id":6760103,"avatar_url":"https://avatars.githubusercontent.com/u/6760103?v=3","gravatar_id":"","url":"https://api.github.com/users/AAbouZaid","html_url":"https://github.com/AAbouZaid","followers_url":"https://api.github.com/users/AAbouZaid/followers","following_url":"https://api.github.com/users/AAbouZaid/following{/other_user}","gists_url":"https://api.github.com/users/AAbouZaid/gists{/gist_id}","starred_url":"https://api.github.com/users/AAbouZaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AAbouZaid/subscriptions","organizations_url":"https://api.github.com/users/AAbouZaid/orgs","repos_url":"https://api.github.com/users/AAbouZaid/repos","events_url":"https://api.github.com/users/AAbouZaid/events{/privacy}","received_events_url":"https://api.github.com/users/AAbouZaid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AAbouZaid/nagios-nrpe-check_glusterfs","description":"Fork of Mark Ruys' check_glusterfs from http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/GlusterFS-checks/details","fork":true,"url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs","forks_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/forks","keys_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/teams","hooks_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/hooks","issue_events_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/issues/events{/number}","events_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/events","assignees_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/assignees{/user}","branches_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/branches{/branch}","tags_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/tags","blobs_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/statuses/{sha}","languages_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/languages","stargazers_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/stargazers","contributors_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/contributors","subscribers_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/subscribers","subscription_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/subscription","commits_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/contents/{+path}","compare_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/merges","archive_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/downloads","issues_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/issues{/number}","pulls_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/pulls{/number}","milestones_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/milestones{/number}","notifications_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/labels{/name}","releases_url":"https://api.github.com/repos/AAbouZaid/nagios-nrpe-check_glusterfs/releases{/id}","created_at":"2015-05-05T12:32:07Z","updated_at":"2015-05-05T12:32:07Z","pushed_at":"2015-05-05T12:33:30Z","git_url":"git://github.com/AAbouZaid/nagios-nrpe-check_glusterfs.git","ssh_url":"git@github.com:AAbouZaid/nagios-nrpe-check_glusterfs.git","clone_url":"https://github.com/AAbouZaid/nagios-nrpe-check_glusterfs.git","svn_url":"https://github.com/AAbouZaid/nagios-nrpe-check_glusterfs","homepage":null,"size":215,"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":"customink:master","ref":"master","sha":"07706288b9fff492a9b4bf8568a894982a52fa8d","user":{"login":"customink","id":26394,"avatar_url":"https://avatars.githubusercontent.com/u/26394?v=3","gravatar_id":"","url":"https://api.github.com/users/customink","html_url":"https://github.com/customink","followers_url":"https://api.github.com/users/customink/followers","following_url":"https://api.github.com/users/customink/following{/other_user}","gists_url":"https://api.github.com/users/customink/gists{/gist_id}","starred_url":"https://api.github.com/users/customink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/customink/subscriptions","organizations_url":"https://api.github.com/users/customink/orgs","repos_url":"https://api.github.com/users/customink/repos","events_url":"https://api.github.com/users/customink/events{/privacy}","received_events_url":"https://api.github.com/users/customink/received_events","type":"Organization","site_admin":false},"repo":{"id":21589163,"name":"nagios-nrpe-check_glusterfs","full_name":"customink/nagios-nrpe-check_glusterfs","owner":{"login":"customink","id":26394,"avatar_url":"https://avatars.githubusercontent.com/u/26394?v=3","gravatar_id":"","url":"https://api.github.com/users/customink","html_url":"https://github.com/customink","followers_url":"https://api.github.com/users/customink/followers","following_url":"https://api.github.com/users/customink/following{/other_user}","gists_url":"https://api.github.com/users/customink/gists{/gist_id}","starred_url":"https://api.github.com/users/customink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/customink/subscriptions","organizations_url":"https://api.github.com/users/customink/orgs","repos_url":"https://api.github.com/users/customink/repos","events_url":"https://api.github.com/users/customink/events{/privacy}","received_events_url":"https://api.github.com/users/customink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/customink/nagios-nrpe-check_glusterfs","description":"Fork of Mark Ruys' check_glusterfs from http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/GlusterFS-checks/details","fork":false,"url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs","forks_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/forks","keys_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/teams","hooks_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/hooks","issue_events_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues/events{/number}","events_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/events","assignees_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/assignees{/user}","branches_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/branches{/branch}","tags_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/tags","blobs_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/statuses/{sha}","languages_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/languages","stargazers_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/stargazers","contributors_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/contributors","subscribers_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/subscribers","subscription_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/subscription","commits_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/contents/{+path}","compare_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/merges","archive_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/downloads","issues_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues{/number}","pulls_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls{/number}","milestones_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/milestones{/number}","notifications_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/labels{/name}","releases_url":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/releases{/id}","created_at":"2014-07-07T22:34:35Z","updated_at":"2014-11-19T15:57:28Z","pushed_at":"2014-10-11T21:33:20Z","git_url":"git://github.com/customink/nagios-nrpe-check_glusterfs.git","ssh_url":"git@github.com:customink/nagios-nrpe-check_glusterfs.git","clone_url":"https://github.com/customink/nagios-nrpe-check_glusterfs.git","svn_url":"https://github.com/customink/nagios-nrpe-check_glusterfs","homepage":null,"size":215,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/8"},"html":{"href":"https://github.com/customink/nagios-nrpe-check_glusterfs/pull/8"},"issue":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues/8"},"comments":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/customink/nagios-nrpe-check_glusterfs/statuses/79442be9b2171677e28d05daa8a0ec21e0b39549"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":82,"deletions":82,"changed_files":1}}