{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/36044063","id":36044063,"diff_hunk":"@@ -341,8 +341,17 @@ def parse_container(container, pod_id)\n         :backing_ref     => container.containerID,\n         :container_image => parse_container_image(container.image, container.imageID)\n       }\n-\n-      # TODO, state\n+      Hash(container.state).each do |key, _val|","path":"app/models/ems_refresh/parsers/kubernetes.rb","position":15,"original_position":15,"commit_id":"b2b7e5a528db9b2c67d3b206a88669c937b16c72","original_commit_id":"b2b7e5a528db9b2c67d3b206a88669c937b16c72","user":{"login":"abonas","id":6277245,"avatar_url":"https://avatars.githubusercontent.com/u/6277245?v=3","gravatar_id":"","url":"https://api.github.com/users/abonas","html_url":"https://github.com/abonas","followers_url":"https://api.github.com/users/abonas/followers","following_url":"https://api.github.com/users/abonas/following{/other_user}","gists_url":"https://api.github.com/users/abonas/gists{/gist_id}","starred_url":"https://api.github.com/users/abonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abonas/subscriptions","organizations_url":"https://api.github.com/users/abonas/orgs","repos_url":"https://api.github.com/users/abonas/repos","events_url":"https://api.github.com/users/abonas/events{/privacy}","received_events_url":"https://api.github.com/users/abonas/received_events","type":"User","site_admin":false},"body":"why is there a need to convert to hash and iterate here?","created_at":"2015-08-02T15:07:04Z","updated_at":"2015-08-02T15:07:04Z","html_url":"https://github.com/ManageIQ/manageiq/pull/3659#discussion_r36044063","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/36044063"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/3659#discussion_r36044063"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659","id":41239643,"html_url":"https://github.com/ManageIQ/manageiq/pull/3659","diff_url":"https://github.com/ManageIQ/manageiq/pull/3659.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3659.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3659","number":3659,"state":"open","locked":false,"title":"Containers state","user":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"body":"persist & show state and last state for containers.\r\n\r\n![screenshot from 2015-07-30 16-30-28](https://cloud.githubusercontent.com/assets/3010449/8985410/ece923ae-36df-11e5-9e24-d547a218a7f5.png)\r\n","created_at":"2015-07-30T14:26:06Z","updated_at":"2015-08-02T15:07:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"460e0699103a1d66c96f044c76aae419754859f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3659/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/b2b7e5a528db9b2c67d3b206a88669c937b16c72","head":{"label":"moolitayer:containers_state","ref":"containers_state","sha":"b2b7e5a528db9b2c67d3b206a88669c937b16c72","user":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"repo":{"id":35763260,"name":"manageiq","full_name":"moolitayer/manageiq","owner":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moolitayer/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/moolitayer/manageiq","forks_url":"https://api.github.com/repos/moolitayer/manageiq/forks","keys_url":"https://api.github.com/repos/moolitayer/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moolitayer/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moolitayer/manageiq/teams","hooks_url":"https://api.github.com/repos/moolitayer/manageiq/hooks","issue_events_url":"https://api.github.com/repos/moolitayer/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/moolitayer/manageiq/events","assignees_url":"https://api.github.com/repos/moolitayer/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/moolitayer/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/moolitayer/manageiq/tags","blobs_url":"https://api.github.com/repos/moolitayer/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moolitayer/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moolitayer/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/moolitayer/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moolitayer/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/moolitayer/manageiq/languages","stargazers_url":"https://api.github.com/repos/moolitayer/manageiq/stargazers","contributors_url":"https://api.github.com/repos/moolitayer/manageiq/contributors","subscribers_url":"https://api.github.com/repos/moolitayer/manageiq/subscribers","subscription_url":"https://api.github.com/repos/moolitayer/manageiq/subscription","commits_url":"https://api.github.com/repos/moolitayer/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/moolitayer/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/moolitayer/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/moolitayer/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/moolitayer/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/moolitayer/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moolitayer/manageiq/merges","archive_url":"https://api.github.com/repos/moolitayer/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moolitayer/manageiq/downloads","issues_url":"https://api.github.com/repos/moolitayer/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/moolitayer/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/moolitayer/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/moolitayer/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moolitayer/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/moolitayer/manageiq/releases{/id}","created_at":"2015-05-17T11:18:34Z","updated_at":"2015-05-17T11:18:51Z","pushed_at":"2015-07-30T14:48:04Z","git_url":"git://github.com/moolitayer/manageiq.git","ssh_url":"git@github.com:moolitayer/manageiq.git","clone_url":"https://github.com/moolitayer/manageiq.git","svn_url":"https://github.com/moolitayer/manageiq","homepage":"manageiq.org","size":78006,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ManageIQ:master","ref":"master","sha":"f2afff427419379a32b908b7f51061836dee9a22","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","created_at":"2014-06-13T02:31:26Z","updated_at":"2015-07-29T14:03:18Z","pushed_at":"2015-08-02T14:34:36Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":145571,"stargazers_count":130,"watchers_count":130,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":352,"forks":135,"open_issues":352,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/3659"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/3659"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/3659/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3659/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/b2b7e5a528db9b2c67d3b206a88669c937b16c72"}}}}