{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/unixorn/apgar/pulls/3","id":88513010,"html_url":"https://github.com/unixorn/apgar/pull/3","diff_url":"https://github.com/unixorn/apgar/pull/3.diff","patch_url":"https://github.com/unixorn/apgar/pull/3.patch","issue_url":"https://api.github.com/repos/unixorn/apgar/issues/3","number":3,"state":"closed","locked":false,"title":"change healthy response so it can pass aws load balance health check","user":{"login":"rongshen-daqri","id":16230890,"avatar_url":"https://avatars.githubusercontent.com/u/16230890?v=3","gravatar_id":"","url":"https://api.github.com/users/rongshen-daqri","html_url":"https://github.com/rongshen-daqri","followers_url":"https://api.github.com/users/rongshen-daqri/followers","following_url":"https://api.github.com/users/rongshen-daqri/following{/other_user}","gists_url":"https://api.github.com/users/rongshen-daqri/gists{/gist_id}","starred_url":"https://api.github.com/users/rongshen-daqri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rongshen-daqri/subscriptions","organizations_url":"https://api.github.com/users/rongshen-daqri/orgs","repos_url":"https://api.github.com/users/rongshen-daqri/repos","events_url":"https://api.github.com/users/rongshen-daqri/events{/privacy}","received_events_url":"https://api.github.com/users/rongshen-daqri/received_events","type":"User","site_admin":false},"body":"@unixorn \r\n\r\nI have never used go before, not sure if I'm writing the right code here. What I'm trying to do is adding an option for passing any response you like, and set the default one to be '200 OK' so aws load balance health check can recognize it.","created_at":"2016-10-07T21:45:44Z","updated_at":"2016-10-07T22:04:02Z","closed_at":"2016-10-07T22:04:02Z","merged_at":null,"merge_commit_sha":"1cc8a78a40f2a19d4cef317f6a814836e55cf504","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/unixorn/apgar/pulls/3/commits","review_comments_url":"https://api.github.com/repos/unixorn/apgar/pulls/3/comments","review_comment_url":"https://api.github.com/repos/unixorn/apgar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unixorn/apgar/issues/3/comments","statuses_url":"https://api.github.com/repos/unixorn/apgar/statuses/42ebee775cdc06129719fceb3c5469cdecc0c3fc","head":{"label":"DAQRI:master","ref":"master","sha":"42ebee775cdc06129719fceb3c5469cdecc0c3fc","user":{"login":"DAQRI","id":12451415,"avatar_url":"https://avatars.githubusercontent.com/u/12451415?v=3","gravatar_id":"","url":"https://api.github.com/users/DAQRI","html_url":"https://github.com/DAQRI","followers_url":"https://api.github.com/users/DAQRI/followers","following_url":"https://api.github.com/users/DAQRI/following{/other_user}","gists_url":"https://api.github.com/users/DAQRI/gists{/gist_id}","starred_url":"https://api.github.com/users/DAQRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DAQRI/subscriptions","organizations_url":"https://api.github.com/users/DAQRI/orgs","repos_url":"https://api.github.com/users/DAQRI/repos","events_url":"https://api.github.com/users/DAQRI/events{/privacy}","received_events_url":"https://api.github.com/users/DAQRI/received_events","type":"Organization","site_admin":false},"repo":{"id":70278570,"name":"apgar","full_name":"DAQRI/apgar","owner":{"login":"DAQRI","id":12451415,"avatar_url":"https://avatars.githubusercontent.com/u/12451415?v=3","gravatar_id":"","url":"https://api.github.com/users/DAQRI","html_url":"https://github.com/DAQRI","followers_url":"https://api.github.com/users/DAQRI/followers","following_url":"https://api.github.com/users/DAQRI/following{/other_user}","gists_url":"https://api.github.com/users/DAQRI/gists{/gist_id}","starred_url":"https://api.github.com/users/DAQRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DAQRI/subscriptions","organizations_url":"https://api.github.com/users/DAQRI/orgs","repos_url":"https://api.github.com/users/DAQRI/repos","events_url":"https://api.github.com/users/DAQRI/events{/privacy}","received_events_url":"https://api.github.com/users/DAQRI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DAQRI/apgar","description":"Apgar is a quick and dirty health checker driver written in go.","fork":true,"url":"https://api.github.com/repos/DAQRI/apgar","forks_url":"https://api.github.com/repos/DAQRI/apgar/forks","keys_url":"https://api.github.com/repos/DAQRI/apgar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DAQRI/apgar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DAQRI/apgar/teams","hooks_url":"https://api.github.com/repos/DAQRI/apgar/hooks","issue_events_url":"https://api.github.com/repos/DAQRI/apgar/issues/events{/number}","events_url":"https://api.github.com/repos/DAQRI/apgar/events","assignees_url":"https://api.github.com/repos/DAQRI/apgar/assignees{/user}","branches_url":"https://api.github.com/repos/DAQRI/apgar/branches{/branch}","tags_url":"https://api.github.com/repos/DAQRI/apgar/tags","blobs_url":"https://api.github.com/repos/DAQRI/apgar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DAQRI/apgar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DAQRI/apgar/git/refs{/sha}","trees_url":"https://api.github.com/repos/DAQRI/apgar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DAQRI/apgar/statuses/{sha}","languages_url":"https://api.github.com/repos/DAQRI/apgar/languages","stargazers_url":"https://api.github.com/repos/DAQRI/apgar/stargazers","contributors_url":"https://api.github.com/repos/DAQRI/apgar/contributors","subscribers_url":"https://api.github.com/repos/DAQRI/apgar/subscribers","subscription_url":"https://api.github.com/repos/DAQRI/apgar/subscription","commits_url":"https://api.github.com/repos/DAQRI/apgar/commits{/sha}","git_commits_url":"https://api.github.com/repos/DAQRI/apgar/git/commits{/sha}","comments_url":"https://api.github.com/repos/DAQRI/apgar/comments{/number}","issue_comment_url":"https://api.github.com/repos/DAQRI/apgar/issues/comments{/number}","contents_url":"https://api.github.com/repos/DAQRI/apgar/contents/{+path}","compare_url":"https://api.github.com/repos/DAQRI/apgar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DAQRI/apgar/merges","archive_url":"https://api.github.com/repos/DAQRI/apgar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DAQRI/apgar/downloads","issues_url":"https://api.github.com/repos/DAQRI/apgar/issues{/number}","pulls_url":"https://api.github.com/repos/DAQRI/apgar/pulls{/number}","milestones_url":"https://api.github.com/repos/DAQRI/apgar/milestones{/number}","notifications_url":"https://api.github.com/repos/DAQRI/apgar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DAQRI/apgar/labels{/name}","releases_url":"https://api.github.com/repos/DAQRI/apgar/releases{/id}","deployments_url":"https://api.github.com/repos/DAQRI/apgar/deployments","created_at":"2016-10-07T19:56:56Z","updated_at":"2016-10-07T19:56:57Z","pushed_at":"2016-10-07T21:43:42Z","git_url":"git://github.com/DAQRI/apgar.git","ssh_url":"git@github.com:DAQRI/apgar.git","clone_url":"https://github.com/DAQRI/apgar.git","svn_url":"https://github.com/DAQRI/apgar","homepage":"","size":13,"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":"master"}},"base":{"label":"unixorn:master","ref":"master","sha":"79dd1b9533c2c836216f2a5f69fec0070c4695d0","user":{"login":"unixorn","id":23920,"avatar_url":"https://avatars.githubusercontent.com/u/23920?v=3","gravatar_id":"","url":"https://api.github.com/users/unixorn","html_url":"https://github.com/unixorn","followers_url":"https://api.github.com/users/unixorn/followers","following_url":"https://api.github.com/users/unixorn/following{/other_user}","gists_url":"https://api.github.com/users/unixorn/gists{/gist_id}","starred_url":"https://api.github.com/users/unixorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixorn/subscriptions","organizations_url":"https://api.github.com/users/unixorn/orgs","repos_url":"https://api.github.com/users/unixorn/repos","events_url":"https://api.github.com/users/unixorn/events{/privacy}","received_events_url":"https://api.github.com/users/unixorn/received_events","type":"User","site_admin":false},"repo":{"id":55266491,"name":"apgar","full_name":"unixorn/apgar","owner":{"login":"unixorn","id":23920,"avatar_url":"https://avatars.githubusercontent.com/u/23920?v=3","gravatar_id":"","url":"https://api.github.com/users/unixorn","html_url":"https://github.com/unixorn","followers_url":"https://api.github.com/users/unixorn/followers","following_url":"https://api.github.com/users/unixorn/following{/other_user}","gists_url":"https://api.github.com/users/unixorn/gists{/gist_id}","starred_url":"https://api.github.com/users/unixorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixorn/subscriptions","organizations_url":"https://api.github.com/users/unixorn/orgs","repos_url":"https://api.github.com/users/unixorn/repos","events_url":"https://api.github.com/users/unixorn/events{/privacy}","received_events_url":"https://api.github.com/users/unixorn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unixorn/apgar","description":"Apgar is a quick and dirty health checker driver written in go.","fork":false,"url":"https://api.github.com/repos/unixorn/apgar","forks_url":"https://api.github.com/repos/unixorn/apgar/forks","keys_url":"https://api.github.com/repos/unixorn/apgar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unixorn/apgar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unixorn/apgar/teams","hooks_url":"https://api.github.com/repos/unixorn/apgar/hooks","issue_events_url":"https://api.github.com/repos/unixorn/apgar/issues/events{/number}","events_url":"https://api.github.com/repos/unixorn/apgar/events","assignees_url":"https://api.github.com/repos/unixorn/apgar/assignees{/user}","branches_url":"https://api.github.com/repos/unixorn/apgar/branches{/branch}","tags_url":"https://api.github.com/repos/unixorn/apgar/tags","blobs_url":"https://api.github.com/repos/unixorn/apgar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unixorn/apgar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unixorn/apgar/git/refs{/sha}","trees_url":"https://api.github.com/repos/unixorn/apgar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unixorn/apgar/statuses/{sha}","languages_url":"https://api.github.com/repos/unixorn/apgar/languages","stargazers_url":"https://api.github.com/repos/unixorn/apgar/stargazers","contributors_url":"https://api.github.com/repos/unixorn/apgar/contributors","subscribers_url":"https://api.github.com/repos/unixorn/apgar/subscribers","subscription_url":"https://api.github.com/repos/unixorn/apgar/subscription","commits_url":"https://api.github.com/repos/unixorn/apgar/commits{/sha}","git_commits_url":"https://api.github.com/repos/unixorn/apgar/git/commits{/sha}","comments_url":"https://api.github.com/repos/unixorn/apgar/comments{/number}","issue_comment_url":"https://api.github.com/repos/unixorn/apgar/issues/comments{/number}","contents_url":"https://api.github.com/repos/unixorn/apgar/contents/{+path}","compare_url":"https://api.github.com/repos/unixorn/apgar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unixorn/apgar/merges","archive_url":"https://api.github.com/repos/unixorn/apgar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unixorn/apgar/downloads","issues_url":"https://api.github.com/repos/unixorn/apgar/issues{/number}","pulls_url":"https://api.github.com/repos/unixorn/apgar/pulls{/number}","milestones_url":"https://api.github.com/repos/unixorn/apgar/milestones{/number}","notifications_url":"https://api.github.com/repos/unixorn/apgar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unixorn/apgar/labels{/name}","releases_url":"https://api.github.com/repos/unixorn/apgar/releases{/id}","deployments_url":"https://api.github.com/repos/unixorn/apgar/deployments","created_at":"2016-04-01T22:41:48Z","updated_at":"2016-07-01T17:38:13Z","pushed_at":"2016-10-07T21:45:44Z","git_url":"git://github.com/unixorn/apgar.git","ssh_url":"git@github.com:unixorn/apgar.git","clone_url":"https://github.com/unixorn/apgar.git","svn_url":"https://github.com/unixorn/apgar","homepage":"","size":13,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unixorn/apgar/pulls/3"},"html":{"href":"https://github.com/unixorn/apgar/pull/3"},"issue":{"href":"https://api.github.com/repos/unixorn/apgar/issues/3"},"comments":{"href":"https://api.github.com/repos/unixorn/apgar/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/unixorn/apgar/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/unixorn/apgar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unixorn/apgar/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/unixorn/apgar/statuses/42ebee775cdc06129719fceb3c5469cdecc0c3fc"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":2,"commits":1,"additions":6,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"rongshen-daqri"}}