{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/504","repository_url":"https://api.github.com/repos/kubernetes/dashboard","labels_url":"https://api.github.com/repos/kubernetes/dashboard/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/issues/504/comments","events_url":"https://api.github.com/repos/kubernetes/dashboard/issues/504/events","html_url":"https://github.com/kubernetes/dashboard/pull/504","id":139253566,"number":504,"title":"Refactor go code and fix link to go report card","user":{"login":"maciaszczykm","id":2823399,"avatar_url":"https://avatars.githubusercontent.com/u/2823399?v=3","gravatar_id":"","url":"https://api.github.com/users/maciaszczykm","html_url":"https://github.com/maciaszczykm","followers_url":"https://api.github.com/users/maciaszczykm/followers","following_url":"https://api.github.com/users/maciaszczykm/following{/other_user}","gists_url":"https://api.github.com/users/maciaszczykm/gists{/gist_id}","starred_url":"https://api.github.com/users/maciaszczykm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciaszczykm/subscriptions","organizations_url":"https://api.github.com/users/maciaszczykm/orgs","repos_url":"https://api.github.com/users/maciaszczykm/repos","events_url":"https://api.github.com/users/maciaszczykm/events{/privacy}","received_events_url":"https://api.github.com/users/maciaszczykm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/dashboard/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"floreks","id":2285385,"avatar_url":"https://avatars.githubusercontent.com/u/2285385?v=3","gravatar_id":"","url":"https://api.github.com/users/floreks","html_url":"https://github.com/floreks","followers_url":"https://api.github.com/users/floreks/followers","following_url":"https://api.github.com/users/floreks/following{/other_user}","gists_url":"https://api.github.com/users/floreks/gists{/gist_id}","starred_url":"https://api.github.com/users/floreks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floreks/subscriptions","organizations_url":"https://api.github.com/users/floreks/orgs","repos_url":"https://api.github.com/users/floreks/repos","events_url":"https://api.github.com/users/floreks/events{/privacy}","received_events_url":"https://api.github.com/users/floreks/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-08T11:31:26Z","updated_at":"2016-03-08T12:48:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/dashboard/pulls/504","html_url":"https://github.com/kubernetes/dashboard/pull/504","diff_url":"https://github.com/kubernetes/dashboard/pull/504.diff","patch_url":"https://github.com/kubernetes/dashboard/pull/504.patch"},"body":"Continuation of #500. Didn't resolve issues like:\r\n\r\n```\r\nLine 136: warning: can probably use \"var result []Event\" instead (golint)\r\n```\r\n\r\nBecause simple change of declaration break tests. \r\n\r\nMoreover, issues like:\r\n\r\n```\r\nLine 76: warning: struct field CpuRequirement should be CPURequirement (golint)\r\n```\r\n\r\nWeren't fixed, because it's probably too much changes.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/kubernetes/dashboard/504)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/comments/193772010","html_url":"https://github.com/kubernetes/dashboard/pull/504#issuecomment-193772010","issue_url":"https://api.github.com/repos/kubernetes/dashboard/issues/504","id":193772010,"user":{"login":"floreks","id":2285385,"avatar_url":"https://avatars.githubusercontent.com/u/2285385?v=3","gravatar_id":"","url":"https://api.github.com/users/floreks","html_url":"https://github.com/floreks","followers_url":"https://api.github.com/users/floreks/followers","following_url":"https://api.github.com/users/floreks/following{/other_user}","gists_url":"https://api.github.com/users/floreks/gists{/gist_id}","starred_url":"https://api.github.com/users/floreks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floreks/subscriptions","organizations_url":"https://api.github.com/users/floreks/orgs","repos_url":"https://api.github.com/users/floreks/repos","events_url":"https://api.github.com/users/floreks/events{/privacy}","received_events_url":"https://api.github.com/users/floreks/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T12:48:35Z","updated_at":"2016-03-08T12:48:35Z","body":"\n\n\n\nReviewed 11 of 11 files at r1.\nReview status: all files reviewed at latest revision, 2 unresolved discussions.\n\n---\n\n*[src/app/backend/deploy.go, line 32 \\[r1\\]](https://reviewable.io:443/reviews/kubernetes/dashboard/504#-KCLEUkgnv9-vlqzKcaI:-KCLEUkgnv9-vlqzKcaJ:-1218858372) ([raw file](https://github.com/kubernetes/dashboard/blob/a61e8afa8ef99d3493dd71b4fb654574c3a2aced/src/app/backend/deploy.go#L32)):*\nfor the/a description?\n\n---\n\n*[src/app/backend/heapsterclient.go, line 32 \\[r1\\]](https://reviewable.io:443/reviews/kubernetes/dashboard/504#-KCLFGnu_O2nJgnbWziJ:-KCLFGnu_O2nJgnbWziK:1483492570) ([raw file](https://github.com/kubernetes/dashboard/blob/a61e8afa8ef99d3493dd71b4fb654574c3a2aced/src/app/backend/heapsterclient.go#L32)):*\nInClusterHeapsterClient is **an** in-cluster\n\n---\n\n\n*Comments from the [review on Reviewable.io](https://reviewable.io:443/reviews/kubernetes/dashboard/504)*\n<!-- Sent from Reviewable.io -->\n"}}