{"action":"closed","number":102,"pull_request":{"url":"https://api.github.com/repos/blox/blox/pulls/102","id":98214021,"html_url":"https://github.com/blox/blox/pull/102","diff_url":"https://github.com/blox/blox/pull/102.diff","patch_url":"https://github.com/blox/blox/pull/102.patch","issue_url":"https://api.github.com/repos/blox/blox/issues/102","number":102,"state":"closed","locked":false,"title":"Using http.Error() to handle API errors in cluster-state-service","user":{"login":"poojamaiya","id":5591110,"avatar_url":"https://avatars.githubusercontent.com/u/5591110?v=3","gravatar_id":"","url":"https://api.github.com/users/poojamaiya","html_url":"https://github.com/poojamaiya","followers_url":"https://api.github.com/users/poojamaiya/followers","following_url":"https://api.github.com/users/poojamaiya/following{/other_user}","gists_url":"https://api.github.com/users/poojamaiya/gists{/gist_id}","starred_url":"https://api.github.com/users/poojamaiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poojamaiya/subscriptions","organizations_url":"https://api.github.com/users/poojamaiya/orgs","repos_url":"https://api.github.com/users/poojamaiya/repos","events_url":"https://api.github.com/users/poojamaiya/events{/privacy}","received_events_url":"https://api.github.com/users/poojamaiya/received_events","type":"User","site_admin":false},"body":"#### Summary\r\nUsing http.Error() to handle api errors in CSS\r\n\r\n#### Testing\r\n<!-- How was this tested? -->\r\n- [X] cluster-state-service binary built locally and unit-tests pass (`cd cluster-state-service; make; cd ../`)\r\n- [X] cluster-state-service build in Docker succeeds (`cd cluster-state-service; make release; cd ../`)\r\n- [X] cluster-state-service e2e tests succeed (`cd cluster-state-service; ECS_CLUSTER=SchedulerTest ECS_CLUSTER_ASG=scheduler-test AWS_PROFILE=event-handler AWS_REGION=us-east-1 make e2e-tests; cd ../`)\r\n\r\nNew tests cover the changes: yes (modified existing tests)\r\n\r\n#### Licensing\r\n\r\nThis contribution is under the terms of the Apache 2.0 License: Yes\r\n\r\n","created_at":"2016-12-15T19:24:01Z","updated_at":"2016-12-16T18:39:49Z","closed_at":"2016-12-16T18:39:49Z","merged_at":"2016-12-16T18:39:49Z","merge_commit_sha":"40c052287ebfc606ba4bdb0ee2a7971ca68652aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/blox/blox/pulls/102/commits","review_comments_url":"https://api.github.com/repos/blox/blox/pulls/102/comments","review_comment_url":"https://api.github.com/repos/blox/blox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blox/blox/issues/102/comments","statuses_url":"https://api.github.com/repos/blox/blox/statuses/a720e46fb51534ef8e5e8703581c283a4a9c0793","head":{"label":"poojamaiya:cssRefactor","ref":"cssRefactor","sha":"a720e46fb51534ef8e5e8703581c283a4a9c0793","user":{"login":"poojamaiya","id":5591110,"avatar_url":"https://avatars.githubusercontent.com/u/5591110?v=3","gravatar_id":"","url":"https://api.github.com/users/poojamaiya","html_url":"https://github.com/poojamaiya","followers_url":"https://api.github.com/users/poojamaiya/followers","following_url":"https://api.github.com/users/poojamaiya/following{/other_user}","gists_url":"https://api.github.com/users/poojamaiya/gists{/gist_id}","starred_url":"https://api.github.com/users/poojamaiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poojamaiya/subscriptions","organizations_url":"https://api.github.com/users/poojamaiya/orgs","repos_url":"https://api.github.com/users/poojamaiya/repos","events_url":"https://api.github.com/users/poojamaiya/events{/privacy}","received_events_url":"https://api.github.com/users/poojamaiya/received_events","type":"User","site_admin":false},"repo":{"id":75429973,"name":"blox-1","full_name":"poojamaiya/blox-1","owner":{"login":"poojamaiya","id":5591110,"avatar_url":"https://avatars.githubusercontent.com/u/5591110?v=3","gravatar_id":"","url":"https://api.github.com/users/poojamaiya","html_url":"https://github.com/poojamaiya","followers_url":"https://api.github.com/users/poojamaiya/followers","following_url":"https://api.github.com/users/poojamaiya/following{/other_user}","gists_url":"https://api.github.com/users/poojamaiya/gists{/gist_id}","starred_url":"https://api.github.com/users/poojamaiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poojamaiya/subscriptions","organizations_url":"https://api.github.com/users/poojamaiya/orgs","repos_url":"https://api.github.com/users/poojamaiya/repos","events_url":"https://api.github.com/users/poojamaiya/events{/privacy}","received_events_url":"https://api.github.com/users/poojamaiya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poojamaiya/blox-1","description":"Open source tools for building custom schedulers on Amazon ECS","fork":true,"url":"https://api.github.com/repos/poojamaiya/blox-1","forks_url":"https://api.github.com/repos/poojamaiya/blox-1/forks","keys_url":"https://api.github.com/repos/poojamaiya/blox-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poojamaiya/blox-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poojamaiya/blox-1/teams","hooks_url":"https://api.github.com/repos/poojamaiya/blox-1/hooks","issue_events_url":"https://api.github.com/repos/poojamaiya/blox-1/issues/events{/number}","events_url":"https://api.github.com/repos/poojamaiya/blox-1/events","assignees_url":"https://api.github.com/repos/poojamaiya/blox-1/assignees{/user}","branches_url":"https://api.github.com/repos/poojamaiya/blox-1/branches{/branch}","tags_url":"https://api.github.com/repos/poojamaiya/blox-1/tags","blobs_url":"https://api.github.com/repos/poojamaiya/blox-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poojamaiya/blox-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poojamaiya/blox-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/poojamaiya/blox-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poojamaiya/blox-1/statuses/{sha}","languages_url":"https://api.github.com/repos/poojamaiya/blox-1/languages","stargazers_url":"https://api.github.com/repos/poojamaiya/blox-1/stargazers","contributors_url":"https://api.github.com/repos/poojamaiya/blox-1/contributors","subscribers_url":"https://api.github.com/repos/poojamaiya/blox-1/subscribers","subscription_url":"https://api.github.com/repos/poojamaiya/blox-1/subscription","commits_url":"https://api.github.com/repos/poojamaiya/blox-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/poojamaiya/blox-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/poojamaiya/blox-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/poojamaiya/blox-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/poojamaiya/blox-1/contents/{+path}","compare_url":"https://api.github.com/repos/poojamaiya/blox-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poojamaiya/blox-1/merges","archive_url":"https://api.github.com/repos/poojamaiya/blox-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poojamaiya/blox-1/downloads","issues_url":"https://api.github.com/repos/poojamaiya/blox-1/issues{/number}","pulls_url":"https://api.github.com/repos/poojamaiya/blox-1/pulls{/number}","milestones_url":"https://api.github.com/repos/poojamaiya/blox-1/milestones{/number}","notifications_url":"https://api.github.com/repos/poojamaiya/blox-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poojamaiya/blox-1/labels{/name}","releases_url":"https://api.github.com/repos/poojamaiya/blox-1/releases{/id}","deployments_url":"https://api.github.com/repos/poojamaiya/blox-1/deployments","created_at":"2016-12-02T20:51:23Z","updated_at":"2016-12-02T20:51:25Z","pushed_at":"2016-12-16T01:08:56Z","git_url":"git://github.com/poojamaiya/blox-1.git","ssh_url":"git@github.com:poojamaiya/blox-1.git","clone_url":"https://github.com/poojamaiya/blox-1.git","svn_url":"https://github.com/poojamaiya/blox-1","homepage":"","size":3587,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"dev"}},"base":{"label":"blox:dev","ref":"dev","sha":"d02c0e7b4559ed47fa21360ec90d3775c09db093","user":{"login":"blox","id":23270025,"avatar_url":"https://avatars.githubusercontent.com/u/23270025?v=3","gravatar_id":"","url":"https://api.github.com/users/blox","html_url":"https://github.com/blox","followers_url":"https://api.github.com/users/blox/followers","following_url":"https://api.github.com/users/blox/following{/other_user}","gists_url":"https://api.github.com/users/blox/gists{/gist_id}","starred_url":"https://api.github.com/users/blox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blox/subscriptions","organizations_url":"https://api.github.com/users/blox/orgs","repos_url":"https://api.github.com/users/blox/repos","events_url":"https://api.github.com/users/blox/events{/privacy}","received_events_url":"https://api.github.com/users/blox/received_events","type":"Organization","site_admin":false},"repo":{"id":74169960,"name":"blox","full_name":"blox/blox","owner":{"login":"blox","id":23270025,"avatar_url":"https://avatars.githubusercontent.com/u/23270025?v=3","gravatar_id":"","url":"https://api.github.com/users/blox","html_url":"https://github.com/blox","followers_url":"https://api.github.com/users/blox/followers","following_url":"https://api.github.com/users/blox/following{/other_user}","gists_url":"https://api.github.com/users/blox/gists{/gist_id}","starred_url":"https://api.github.com/users/blox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blox/subscriptions","organizations_url":"https://api.github.com/users/blox/orgs","repos_url":"https://api.github.com/users/blox/repos","events_url":"https://api.github.com/users/blox/events{/privacy}","received_events_url":"https://api.github.com/users/blox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blox/blox","description":"Open source tools for building custom schedulers on Amazon ECS","fork":false,"url":"https://api.github.com/repos/blox/blox","forks_url":"https://api.github.com/repos/blox/blox/forks","keys_url":"https://api.github.com/repos/blox/blox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blox/blox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blox/blox/teams","hooks_url":"https://api.github.com/repos/blox/blox/hooks","issue_events_url":"https://api.github.com/repos/blox/blox/issues/events{/number}","events_url":"https://api.github.com/repos/blox/blox/events","assignees_url":"https://api.github.com/repos/blox/blox/assignees{/user}","branches_url":"https://api.github.com/repos/blox/blox/branches{/branch}","tags_url":"https://api.github.com/repos/blox/blox/tags","blobs_url":"https://api.github.com/repos/blox/blox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blox/blox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blox/blox/git/refs{/sha}","trees_url":"https://api.github.com/repos/blox/blox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blox/blox/statuses/{sha}","languages_url":"https://api.github.com/repos/blox/blox/languages","stargazers_url":"https://api.github.com/repos/blox/blox/stargazers","contributors_url":"https://api.github.com/repos/blox/blox/contributors","subscribers_url":"https://api.github.com/repos/blox/blox/subscribers","subscription_url":"https://api.github.com/repos/blox/blox/subscription","commits_url":"https://api.github.com/repos/blox/blox/commits{/sha}","git_commits_url":"https://api.github.com/repos/blox/blox/git/commits{/sha}","comments_url":"https://api.github.com/repos/blox/blox/comments{/number}","issue_comment_url":"https://api.github.com/repos/blox/blox/issues/comments{/number}","contents_url":"https://api.github.com/repos/blox/blox/contents/{+path}","compare_url":"https://api.github.com/repos/blox/blox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blox/blox/merges","archive_url":"https://api.github.com/repos/blox/blox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blox/blox/downloads","issues_url":"https://api.github.com/repos/blox/blox/issues{/number}","pulls_url":"https://api.github.com/repos/blox/blox/pulls{/number}","milestones_url":"https://api.github.com/repos/blox/blox/milestones{/number}","notifications_url":"https://api.github.com/repos/blox/blox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blox/blox/labels{/name}","releases_url":"https://api.github.com/repos/blox/blox/releases{/id}","deployments_url":"https://api.github.com/repos/blox/blox/deployments","created_at":"2016-11-18T22:04:45Z","updated_at":"2016-12-16T17:22:57Z","pushed_at":"2016-12-16T18:39:49Z","git_url":"git://github.com/blox/blox.git","ssh_url":"git@github.com:blox/blox.git","clone_url":"https://github.com/blox/blox.git","svn_url":"https://github.com/blox/blox","homepage":"","size":3581,"stargazers_count":592,"watchers_count":592,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":35,"forks":37,"open_issues":35,"watchers":592,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/blox/blox/pulls/102"},"html":{"href":"https://github.com/blox/blox/pull/102"},"issue":{"href":"https://api.github.com/repos/blox/blox/issues/102"},"comments":{"href":"https://api.github.com/repos/blox/blox/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/blox/blox/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/blox/blox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blox/blox/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/blox/blox/statuses/a720e46fb51534ef8e5e8703581c283a4a9c0793"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"poojamaiya","id":5591110,"avatar_url":"https://avatars.githubusercontent.com/u/5591110?v=3","gravatar_id":"","url":"https://api.github.com/users/poojamaiya","html_url":"https://github.com/poojamaiya","followers_url":"https://api.github.com/users/poojamaiya/followers","following_url":"https://api.github.com/users/poojamaiya/following{/other_user}","gists_url":"https://api.github.com/users/poojamaiya/gists{/gist_id}","starred_url":"https://api.github.com/users/poojamaiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poojamaiya/subscriptions","organizations_url":"https://api.github.com/users/poojamaiya/orgs","repos_url":"https://api.github.com/users/poojamaiya/repos","events_url":"https://api.github.com/users/poojamaiya/events{/privacy}","received_events_url":"https://api.github.com/users/poojamaiya/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":40,"deletions":86,"changed_files":4}}
{"actor":{"display_login":"poojamaiya"}}