{"action":"created","comment":{"url":"https://api.github.com/repos/prometheus/node_exporter/pulls/comments/88445645","pull_request_review_id":9018341,"id":88445645,"diff_hunk":"@@ -158,19 +175,28 @@ func parseMdstat(mdStatusFilePath string) ([]mdStatus, error) {\n \t\t}\n \t\tcurrentMD = mainLine[0]               // The name of the md-device.\n \t\tisActive := (mainLine[2] == \"active\") // The activity status of the md-device.\n-\t\tpersonality = mainLine[3]             // The personality type of the md-device.\n+\t\tpersonality = \"\"\n+\t\tfor _, possiblePersonality := range mainLine {","path":"collector/mdadm_linux.go","position":52,"original_position":52,"commit_id":"1f6b5aee3980a4dad5e557645a50de1810459a0d","original_commit_id":"1f6b5aee3980a4dad5e557645a50de1810459a0d","user":{"login":"tcolgate","id":76019,"avatar_url":"https://avatars.githubusercontent.com/u/76019?v=3","gravatar_id":"","url":"https://api.github.com/users/tcolgate","html_url":"https://github.com/tcolgate","followers_url":"https://api.github.com/users/tcolgate/followers","following_url":"https://api.github.com/users/tcolgate/following{/other_user}","gists_url":"https://api.github.com/users/tcolgate/gists{/gist_id}","starred_url":"https://api.github.com/users/tcolgate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcolgate/subscriptions","organizations_url":"https://api.github.com/users/tcolgate/orgs","repos_url":"https://api.github.com/users/tcolgate/repos","events_url":"https://api.github.com/users/tcolgate/events{/privacy}","received_events_url":"https://api.github.com/users/tcolgate/received_events","type":"User","site_admin":false},"body":"range mainLine[3:] ?","created_at":"2016-11-17T12:55:04Z","updated_at":"2016-11-17T12:55:05Z","html_url":"https://github.com/prometheus/node_exporter/pull/346#discussion_r88445645","pull_request_url":"https://api.github.com/repos/prometheus/node_exporter/pulls/346","_links":{"self":{"href":"https://api.github.com/repos/prometheus/node_exporter/pulls/comments/88445645"},"html":{"href":"https://github.com/prometheus/node_exporter/pull/346#discussion_r88445645"},"pull_request":{"href":"https://api.github.com/repos/prometheus/node_exporter/pulls/346"}}},"pull_request":{"url":"https://api.github.com/repos/prometheus/node_exporter/pulls/346","id":93992105,"html_url":"https://github.com/prometheus/node_exporter/pull/346","diff_url":"https://github.com/prometheus/node_exporter/pull/346.diff","patch_url":"https://github.com/prometheus/node_exporter/pull/346.patch","issue_url":"https://api.github.com/repos/prometheus/node_exporter/issues/346","number":346,"state":"open","locked":false,"title":"Fix additional mdadm parsing cases","user":{"login":"mcdan","id":34647,"avatar_url":"https://avatars.githubusercontent.com/u/34647?v=3","gravatar_id":"","url":"https://api.github.com/users/mcdan","html_url":"https://github.com/mcdan","followers_url":"https://api.github.com/users/mcdan/followers","following_url":"https://api.github.com/users/mcdan/following{/other_user}","gists_url":"https://api.github.com/users/mcdan/gists{/gist_id}","starred_url":"https://api.github.com/users/mcdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcdan/subscriptions","organizations_url":"https://api.github.com/users/mcdan/orgs","repos_url":"https://api.github.com/users/mcdan/repos","events_url":"https://api.github.com/users/mcdan/events{/privacy}","received_events_url":"https://api.github.com/users/mcdan/received_events","type":"User","site_admin":false},"body":"Rebased correctly, couldn't reopen PR so this duplicates closed PR https://github.com/prometheus/node_exporter/pull/312","created_at":"2016-11-16T15:51:16Z","updated_at":"2016-11-17T12:55:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bedc83747fd4636750d4d41f78e39b5f463183a5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/node_exporter/pulls/346/commits","review_comments_url":"https://api.github.com/repos/prometheus/node_exporter/pulls/346/comments","review_comment_url":"https://api.github.com/repos/prometheus/node_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/node_exporter/issues/346/comments","statuses_url":"https://api.github.com/repos/prometheus/node_exporter/statuses/1f6b5aee3980a4dad5e557645a50de1810459a0d","head":{"label":"mcdan:people/mcdan/issues/219","ref":"people/mcdan/issues/219","sha":"1f6b5aee3980a4dad5e557645a50de1810459a0d","user":{"login":"mcdan","id":34647,"avatar_url":"https://avatars.githubusercontent.com/u/34647?v=3","gravatar_id":"","url":"https://api.github.com/users/mcdan","html_url":"https://github.com/mcdan","followers_url":"https://api.github.com/users/mcdan/followers","following_url":"https://api.github.com/users/mcdan/following{/other_user}","gists_url":"https://api.github.com/users/mcdan/gists{/gist_id}","starred_url":"https://api.github.com/users/mcdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcdan/subscriptions","organizations_url":"https://api.github.com/users/mcdan/orgs","repos_url":"https://api.github.com/users/mcdan/repos","events_url":"https://api.github.com/users/mcdan/events{/privacy}","received_events_url":"https://api.github.com/users/mcdan/received_events","type":"User","site_admin":false},"repo":{"id":68719669,"name":"node_exporter","full_name":"mcdan/node_exporter","owner":{"login":"mcdan","id":34647,"avatar_url":"https://avatars.githubusercontent.com/u/34647?v=3","gravatar_id":"","url":"https://api.github.com/users/mcdan","html_url":"https://github.com/mcdan","followers_url":"https://api.github.com/users/mcdan/followers","following_url":"https://api.github.com/users/mcdan/following{/other_user}","gists_url":"https://api.github.com/users/mcdan/gists{/gist_id}","starred_url":"https://api.github.com/users/mcdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcdan/subscriptions","organizations_url":"https://api.github.com/users/mcdan/orgs","repos_url":"https://api.github.com/users/mcdan/repos","events_url":"https://api.github.com/users/mcdan/events{/privacy}","received_events_url":"https://api.github.com/users/mcdan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcdan/node_exporter","description":"Exporter for machine metrics","fork":true,"url":"https://api.github.com/repos/mcdan/node_exporter","forks_url":"https://api.github.com/repos/mcdan/node_exporter/forks","keys_url":"https://api.github.com/repos/mcdan/node_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcdan/node_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcdan/node_exporter/teams","hooks_url":"https://api.github.com/repos/mcdan/node_exporter/hooks","issue_events_url":"https://api.github.com/repos/mcdan/node_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/mcdan/node_exporter/events","assignees_url":"https://api.github.com/repos/mcdan/node_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/mcdan/node_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/mcdan/node_exporter/tags","blobs_url":"https://api.github.com/repos/mcdan/node_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcdan/node_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcdan/node_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcdan/node_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcdan/node_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/mcdan/node_exporter/languages","stargazers_url":"https://api.github.com/repos/mcdan/node_exporter/stargazers","contributors_url":"https://api.github.com/repos/mcdan/node_exporter/contributors","subscribers_url":"https://api.github.com/repos/mcdan/node_exporter/subscribers","subscription_url":"https://api.github.com/repos/mcdan/node_exporter/subscription","commits_url":"https://api.github.com/repos/mcdan/node_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcdan/node_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcdan/node_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcdan/node_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcdan/node_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/mcdan/node_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcdan/node_exporter/merges","archive_url":"https://api.github.com/repos/mcdan/node_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcdan/node_exporter/downloads","issues_url":"https://api.github.com/repos/mcdan/node_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/mcdan/node_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/mcdan/node_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/mcdan/node_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcdan/node_exporter/labels{/name}","releases_url":"https://api.github.com/repos/mcdan/node_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/mcdan/node_exporter/deployments","created_at":"2016-09-20T14:23:21Z","updated_at":"2016-09-20T14:23:23Z","pushed_at":"2016-11-16T19:51:05Z","git_url":"git://github.com/mcdan/node_exporter.git","ssh_url":"git@github.com:mcdan/node_exporter.git","clone_url":"https://github.com/mcdan/node_exporter.git","svn_url":"https://github.com/mcdan/node_exporter","homepage":"https://prometheus.io/","size":1314,"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":"prometheus:master","ref":"master","sha":"bb2b984030ab1a31c8455732cb6ec48d2a8d5dc0","user":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":9524057,"name":"node_exporter","full_name":"prometheus/node_exporter","owner":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prometheus/node_exporter","description":"Exporter for machine metrics","fork":false,"url":"https://api.github.com/repos/prometheus/node_exporter","forks_url":"https://api.github.com/repos/prometheus/node_exporter/forks","keys_url":"https://api.github.com/repos/prometheus/node_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/node_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/node_exporter/teams","hooks_url":"https://api.github.com/repos/prometheus/node_exporter/hooks","issue_events_url":"https://api.github.com/repos/prometheus/node_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/node_exporter/events","assignees_url":"https://api.github.com/repos/prometheus/node_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/node_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/node_exporter/tags","blobs_url":"https://api.github.com/repos/prometheus/node_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/node_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/node_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/node_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/node_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/node_exporter/languages","stargazers_url":"https://api.github.com/repos/prometheus/node_exporter/stargazers","contributors_url":"https://api.github.com/repos/prometheus/node_exporter/contributors","subscribers_url":"https://api.github.com/repos/prometheus/node_exporter/subscribers","subscription_url":"https://api.github.com/repos/prometheus/node_exporter/subscription","commits_url":"https://api.github.com/repos/prometheus/node_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/node_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/node_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/node_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/node_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/node_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/node_exporter/merges","archive_url":"https://api.github.com/repos/prometheus/node_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/node_exporter/downloads","issues_url":"https://api.github.com/repos/prometheus/node_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/node_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/node_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/node_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/node_exporter/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/node_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/node_exporter/deployments","created_at":"2013-04-18T14:44:52Z","updated_at":"2016-11-15T19:33:12Z","pushed_at":"2016-11-17T12:33:50Z","git_url":"git://github.com/prometheus/node_exporter.git","ssh_url":"git@github.com:prometheus/node_exporter.git","clone_url":"https://github.com/prometheus/node_exporter.git","svn_url":"https://github.com/prometheus/node_exporter","homepage":"https://prometheus.io/","size":1766,"stargazers_count":327,"watchers_count":327,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":156,"mirror_url":null,"open_issues_count":61,"forks":156,"open_issues":61,"watchers":327,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/node_exporter/pulls/346"},"html":{"href":"https://github.com/prometheus/node_exporter/pull/346"},"issue":{"href":"https://api.github.com/repos/prometheus/node_exporter/issues/346"},"comments":{"href":"https://api.github.com/repos/prometheus/node_exporter/issues/346/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/node_exporter/pulls/346/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/node_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/node_exporter/pulls/346/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/node_exporter/statuses/1f6b5aee3980a4dad5e557645a50de1810459a0d"}}}}
{"actor":{"display_login":"tcolgate"}}