{"action":"created","comment":{"url":"https://api.github.com/repos/edmodo/docker-proxy/pulls/comments/61167066","id":61167066,"diff_hunk":"@@ -123,17 +123,16 @@ func (this *DockerClient) onContainerStarted(id string) bool {\n \n \taddress := container.NetworkSettings.IPAddress\n \n+\t// If there are any live listeners (besides the unknown:unknown container)\n \tfirstContainer := true\n-        for _, listener := range this.proxy.listeners {\n-                oldID := listener.reconfigure(id, address)\n-                if oldID != \"\" {\n+\tfor _, listener := range this.proxy.listeners {\n+\t\tif listener.containerID != \"\" {","path":"main.go","position":10,"original_position":10,"commit_id":"6dd0dd338834e6b08a5cd753f6e146fdbdbc3011","original_commit_id":"6dd0dd338834e6b08a5cd753f6e146fdbdbc3011","user":{"login":"chrisd0","id":6033897,"avatar_url":"https://avatars.githubusercontent.com/u/6033897?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisd0","html_url":"https://github.com/chrisd0","followers_url":"https://api.github.com/users/chrisd0/followers","following_url":"https://api.github.com/users/chrisd0/following{/other_user}","gists_url":"https://api.github.com/users/chrisd0/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisd0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisd0/subscriptions","organizations_url":"https://api.github.com/users/chrisd0/orgs","repos_url":"https://api.github.com/users/chrisd0/repos","events_url":"https://api.github.com/users/chrisd0/events{/privacy}","received_events_url":"https://api.github.com/users/chrisd0/received_events","type":"User","site_admin":false},"body":"Yep, I was misusing the reconfigure method.  This is the behavior I had intended.","created_at":"2016-04-26T21:23:55Z","updated_at":"2016-04-26T21:23:55Z","html_url":"https://github.com/edmodo/docker-proxy/pull/6#discussion_r61167066","pull_request_url":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/edmodo/docker-proxy/pulls/comments/61167066"},"html":{"href":"https://github.com/edmodo/docker-proxy/pull/6#discussion_r61167066"},"pull_request":{"href":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6","id":67960432,"html_url":"https://github.com/edmodo/docker-proxy/pull/6","diff_url":"https://github.com/edmodo/docker-proxy/pull/6.diff","patch_url":"https://github.com/edmodo/docker-proxy/pull/6.patch","issue_url":"https://api.github.com/repos/edmodo/docker-proxy/issues/6","number":6,"state":"open","locked":false,"title":"OPS-1850: Fix when interacting with OPS-1879","user":{"login":"jpverkamp","id":100453,"avatar_url":"https://avatars.githubusercontent.com/u/100453?v=3","gravatar_id":"","url":"https://api.github.com/users/jpverkamp","html_url":"https://github.com/jpverkamp","followers_url":"https://api.github.com/users/jpverkamp/followers","following_url":"https://api.github.com/users/jpverkamp/following{/other_user}","gists_url":"https://api.github.com/users/jpverkamp/gists{/gist_id}","starred_url":"https://api.github.com/users/jpverkamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpverkamp/subscriptions","organizations_url":"https://api.github.com/users/jpverkamp/orgs","repos_url":"https://api.github.com/users/jpverkamp/repos","events_url":"https://api.github.com/users/jpverkamp/events{/privacy}","received_events_url":"https://api.github.com/users/jpverkamp/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-26T21:21:44Z","updated_at":"2016-04-26T21:23:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fd1e0702385f7787f47a63387919fdce68055ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6/commits","review_comments_url":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6/comments","review_comment_url":"https://api.github.com/repos/edmodo/docker-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edmodo/docker-proxy/issues/6/comments","statuses_url":"https://api.github.com/repos/edmodo/docker-proxy/statuses/6dd0dd338834e6b08a5cd753f6e146fdbdbc3011","head":{"label":"edmodo:OPS-1850-fix","ref":"OPS-1850-fix","sha":"6dd0dd338834e6b08a5cd753f6e146fdbdbc3011","user":{"login":"edmodo","id":882136,"avatar_url":"https://avatars.githubusercontent.com/u/882136?v=3","gravatar_id":"","url":"https://api.github.com/users/edmodo","html_url":"https://github.com/edmodo","followers_url":"https://api.github.com/users/edmodo/followers","following_url":"https://api.github.com/users/edmodo/following{/other_user}","gists_url":"https://api.github.com/users/edmodo/gists{/gist_id}","starred_url":"https://api.github.com/users/edmodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmodo/subscriptions","organizations_url":"https://api.github.com/users/edmodo/orgs","repos_url":"https://api.github.com/users/edmodo/repos","events_url":"https://api.github.com/users/edmodo/events{/privacy}","received_events_url":"https://api.github.com/users/edmodo/received_events","type":"Organization","site_admin":false},"repo":{"id":24113618,"name":"docker-proxy","full_name":"edmodo/docker-proxy","owner":{"login":"edmodo","id":882136,"avatar_url":"https://avatars.githubusercontent.com/u/882136?v=3","gravatar_id":"","url":"https://api.github.com/users/edmodo","html_url":"https://github.com/edmodo","followers_url":"https://api.github.com/users/edmodo/followers","following_url":"https://api.github.com/users/edmodo/following{/other_user}","gists_url":"https://api.github.com/users/edmodo/gists{/gist_id}","starred_url":"https://api.github.com/users/edmodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmodo/subscriptions","organizations_url":"https://api.github.com/users/edmodo/orgs","repos_url":"https://api.github.com/users/edmodo/repos","events_url":"https://api.github.com/users/edmodo/events{/privacy}","received_events_url":"https://api.github.com/users/edmodo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edmodo/docker-proxy","description":"Zero-downtime TCP-proxy tool for Docker","fork":false,"url":"https://api.github.com/repos/edmodo/docker-proxy","forks_url":"https://api.github.com/repos/edmodo/docker-proxy/forks","keys_url":"https://api.github.com/repos/edmodo/docker-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edmodo/docker-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edmodo/docker-proxy/teams","hooks_url":"https://api.github.com/repos/edmodo/docker-proxy/hooks","issue_events_url":"https://api.github.com/repos/edmodo/docker-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/edmodo/docker-proxy/events","assignees_url":"https://api.github.com/repos/edmodo/docker-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/edmodo/docker-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/edmodo/docker-proxy/tags","blobs_url":"https://api.github.com/repos/edmodo/docker-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edmodo/docker-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edmodo/docker-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/edmodo/docker-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edmodo/docker-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/edmodo/docker-proxy/languages","stargazers_url":"https://api.github.com/repos/edmodo/docker-proxy/stargazers","contributors_url":"https://api.github.com/repos/edmodo/docker-proxy/contributors","subscribers_url":"https://api.github.com/repos/edmodo/docker-proxy/subscribers","subscription_url":"https://api.github.com/repos/edmodo/docker-proxy/subscription","commits_url":"https://api.github.com/repos/edmodo/docker-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/edmodo/docker-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/edmodo/docker-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/edmodo/docker-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/edmodo/docker-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/edmodo/docker-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edmodo/docker-proxy/merges","archive_url":"https://api.github.com/repos/edmodo/docker-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edmodo/docker-proxy/downloads","issues_url":"https://api.github.com/repos/edmodo/docker-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/edmodo/docker-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/edmodo/docker-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/edmodo/docker-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edmodo/docker-proxy/labels{/name}","releases_url":"https://api.github.com/repos/edmodo/docker-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/edmodo/docker-proxy/deployments","created_at":"2014-09-16T19:09:22Z","updated_at":"2016-03-22T03:42:17Z","pushed_at":"2016-04-26T21:21:45Z","git_url":"git://github.com/edmodo/docker-proxy.git","ssh_url":"git@github.com:edmodo/docker-proxy.git","clone_url":"https://github.com/edmodo/docker-proxy.git","svn_url":"https://github.com/edmodo/docker-proxy","homepage":null,"size":33,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"edmodo:master","ref":"master","sha":"fffc102ff498f819d5b36c0a24d90385b0ed4ce1","user":{"login":"edmodo","id":882136,"avatar_url":"https://avatars.githubusercontent.com/u/882136?v=3","gravatar_id":"","url":"https://api.github.com/users/edmodo","html_url":"https://github.com/edmodo","followers_url":"https://api.github.com/users/edmodo/followers","following_url":"https://api.github.com/users/edmodo/following{/other_user}","gists_url":"https://api.github.com/users/edmodo/gists{/gist_id}","starred_url":"https://api.github.com/users/edmodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmodo/subscriptions","organizations_url":"https://api.github.com/users/edmodo/orgs","repos_url":"https://api.github.com/users/edmodo/repos","events_url":"https://api.github.com/users/edmodo/events{/privacy}","received_events_url":"https://api.github.com/users/edmodo/received_events","type":"Organization","site_admin":false},"repo":{"id":24113618,"name":"docker-proxy","full_name":"edmodo/docker-proxy","owner":{"login":"edmodo","id":882136,"avatar_url":"https://avatars.githubusercontent.com/u/882136?v=3","gravatar_id":"","url":"https://api.github.com/users/edmodo","html_url":"https://github.com/edmodo","followers_url":"https://api.github.com/users/edmodo/followers","following_url":"https://api.github.com/users/edmodo/following{/other_user}","gists_url":"https://api.github.com/users/edmodo/gists{/gist_id}","starred_url":"https://api.github.com/users/edmodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmodo/subscriptions","organizations_url":"https://api.github.com/users/edmodo/orgs","repos_url":"https://api.github.com/users/edmodo/repos","events_url":"https://api.github.com/users/edmodo/events{/privacy}","received_events_url":"https://api.github.com/users/edmodo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edmodo/docker-proxy","description":"Zero-downtime TCP-proxy tool for Docker","fork":false,"url":"https://api.github.com/repos/edmodo/docker-proxy","forks_url":"https://api.github.com/repos/edmodo/docker-proxy/forks","keys_url":"https://api.github.com/repos/edmodo/docker-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edmodo/docker-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edmodo/docker-proxy/teams","hooks_url":"https://api.github.com/repos/edmodo/docker-proxy/hooks","issue_events_url":"https://api.github.com/repos/edmodo/docker-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/edmodo/docker-proxy/events","assignees_url":"https://api.github.com/repos/edmodo/docker-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/edmodo/docker-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/edmodo/docker-proxy/tags","blobs_url":"https://api.github.com/repos/edmodo/docker-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edmodo/docker-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edmodo/docker-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/edmodo/docker-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edmodo/docker-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/edmodo/docker-proxy/languages","stargazers_url":"https://api.github.com/repos/edmodo/docker-proxy/stargazers","contributors_url":"https://api.github.com/repos/edmodo/docker-proxy/contributors","subscribers_url":"https://api.github.com/repos/edmodo/docker-proxy/subscribers","subscription_url":"https://api.github.com/repos/edmodo/docker-proxy/subscription","commits_url":"https://api.github.com/repos/edmodo/docker-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/edmodo/docker-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/edmodo/docker-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/edmodo/docker-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/edmodo/docker-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/edmodo/docker-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edmodo/docker-proxy/merges","archive_url":"https://api.github.com/repos/edmodo/docker-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edmodo/docker-proxy/downloads","issues_url":"https://api.github.com/repos/edmodo/docker-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/edmodo/docker-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/edmodo/docker-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/edmodo/docker-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edmodo/docker-proxy/labels{/name}","releases_url":"https://api.github.com/repos/edmodo/docker-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/edmodo/docker-proxy/deployments","created_at":"2014-09-16T19:09:22Z","updated_at":"2016-03-22T03:42:17Z","pushed_at":"2016-04-26T21:21:45Z","git_url":"git://github.com/edmodo/docker-proxy.git","ssh_url":"git@github.com:edmodo/docker-proxy.git","clone_url":"https://github.com/edmodo/docker-proxy.git","svn_url":"https://github.com/edmodo/docker-proxy","homepage":null,"size":33,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6"},"html":{"href":"https://github.com/edmodo/docker-proxy/pull/6"},"issue":{"href":"https://api.github.com/repos/edmodo/docker-proxy/issues/6"},"comments":{"href":"https://api.github.com/repos/edmodo/docker-proxy/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/edmodo/docker-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edmodo/docker-proxy/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/edmodo/docker-proxy/statuses/6dd0dd338834e6b08a5cd753f6e146fdbdbc3011"}}}}