{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/50753302","id":50753302,"diff_hunk":"@@ -966,4 +966,13 @@ var (\n \t\tDescription:    \"Engine's predefined networks cannot be deleted\",\n \t\tHTTPStatusCode: http.StatusForbidden,\n \t})\n+\n+\t// ErrorCodeMultipleNetworkConnect is generated when more than one network is passed\n+\t// when creating a container\n+\tErrorCodeMultipleNetworkConnect = errcode.Register(errGroup, errcode.ErrorDescriptor{\n+\t\tValue:          \"CANT_CONNECT_TO_MULTIPLE_NETWORKS\",","path":"errors/daemon.go","position":8,"original_position":8,"commit_id":"34f50ef6680d35553d403d0c8b0739c76e4c9f89","original_commit_id":"34f50ef6680d35553d403d0c8b0739c76e4c9f89","user":{"login":"aboch","id":10080882,"avatar_url":"https://avatars.githubusercontent.com/u/10080882?v=3","gravatar_id":"","url":"https://api.github.com/users/aboch","html_url":"https://github.com/aboch","followers_url":"https://api.github.com/users/aboch/followers","following_url":"https://api.github.com/users/aboch/following{/other_user}","gists_url":"https://api.github.com/users/aboch/gists{/gist_id}","starred_url":"https://api.github.com/users/aboch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboch/subscriptions","organizations_url":"https://api.github.com/users/aboch/orgs","repos_url":"https://api.github.com/users/aboch/repos","events_url":"https://api.github.com/users/aboch/events{/privacy}","received_events_url":"https://api.github.com/users/aboch/received_events","type":"User","site_admin":false},"body":"Yeah, I just copied it from the previous error message, let me change this.","created_at":"2016-01-25T20:47:28Z","updated_at":"2016-01-25T20:47:28Z","html_url":"https://github.com/docker/docker/pull/19560#discussion_r50753302","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/19560","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/50753302"},"html":{"href":"https://github.com/docker/docker/pull/19560#discussion_r50753302"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/19560"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/19560","id":56819858,"html_url":"https://github.com/docker/docker/pull/19560","diff_url":"https://github.com/docker/docker/pull/19560.diff","patch_url":"https://github.com/docker/docker/pull/19560.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/19560","number":19560,"state":"open","locked":false,"title":"Reject multiple networks on container creation request","user":{"login":"aboch","id":10080882,"avatar_url":"https://avatars.githubusercontent.com/u/10080882?v=3","gravatar_id":"","url":"https://api.github.com/users/aboch","html_url":"https://github.com/aboch","followers_url":"https://api.github.com/users/aboch/followers","following_url":"https://api.github.com/users/aboch/following{/other_user}","gists_url":"https://api.github.com/users/aboch/gists{/gist_id}","starred_url":"https://api.github.com/users/aboch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboch/subscriptions","organizations_url":"https://api.github.com/users/aboch/orgs","repos_url":"https://api.github.com/users/aboch/repos","events_url":"https://api.github.com/users/aboch/events{/privacy}","received_events_url":"https://api.github.com/users/aboch/received_events","type":"User","site_admin":false},"body":"- Currently a rest client can post a container create request which will connect the container to multiple networks. Although this feature is not documented, to avoid confusion it was recommended to disable it.\r\n\r\nSigned-off-by: Alessandro Boch <aboch@docker.com>","created_at":"2016-01-21T22:33:21Z","updated_at":"2016-01-25T20:47:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed3e141bb4f9c847a8c85eee7633b53a4abca069","assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/44","html_url":"https://github.com/docker/docker/milestones/1.10.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/44/labels","id":1351533,"number":44,"title":"1.10.0","description":"Code freeze / feature freeze January 14th 2016\r\nPlanned release: February 4th, 2016\r\nhttps://github.com/docker/docker/wiki","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":306,"state":"open","created_at":"2015-10-12T18:21:55Z","updated_at":"2016-01-25T20:46:58Z","due_on":"2016-02-04T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/docker/docker/pulls/19560/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/19560/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/19560/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/34f50ef6680d35553d403d0c8b0739c76e4c9f89","head":{"label":"aboch:mn","ref":"mn","sha":"34f50ef6680d35553d403d0c8b0739c76e4c9f89","user":{"login":"aboch","id":10080882,"avatar_url":"https://avatars.githubusercontent.com/u/10080882?v=3","gravatar_id":"","url":"https://api.github.com/users/aboch","html_url":"https://github.com/aboch","followers_url":"https://api.github.com/users/aboch/followers","following_url":"https://api.github.com/users/aboch/following{/other_user}","gists_url":"https://api.github.com/users/aboch/gists{/gist_id}","starred_url":"https://api.github.com/users/aboch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboch/subscriptions","organizations_url":"https://api.github.com/users/aboch/orgs","repos_url":"https://api.github.com/users/aboch/repos","events_url":"https://api.github.com/users/aboch/events{/privacy}","received_events_url":"https://api.github.com/users/aboch/received_events","type":"User","site_admin":false},"repo":{"id":33565247,"name":"docker","full_name":"aboch/docker","owner":{"login":"aboch","id":10080882,"avatar_url":"https://avatars.githubusercontent.com/u/10080882?v=3","gravatar_id":"","url":"https://api.github.com/users/aboch","html_url":"https://github.com/aboch","followers_url":"https://api.github.com/users/aboch/followers","following_url":"https://api.github.com/users/aboch/following{/other_user}","gists_url":"https://api.github.com/users/aboch/gists{/gist_id}","starred_url":"https://api.github.com/users/aboch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboch/subscriptions","organizations_url":"https://api.github.com/users/aboch/orgs","repos_url":"https://api.github.com/users/aboch/repos","events_url":"https://api.github.com/users/aboch/events{/privacy}","received_events_url":"https://api.github.com/users/aboch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aboch/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/aboch/docker","forks_url":"https://api.github.com/repos/aboch/docker/forks","keys_url":"https://api.github.com/repos/aboch/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aboch/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aboch/docker/teams","hooks_url":"https://api.github.com/repos/aboch/docker/hooks","issue_events_url":"https://api.github.com/repos/aboch/docker/issues/events{/number}","events_url":"https://api.github.com/repos/aboch/docker/events","assignees_url":"https://api.github.com/repos/aboch/docker/assignees{/user}","branches_url":"https://api.github.com/repos/aboch/docker/branches{/branch}","tags_url":"https://api.github.com/repos/aboch/docker/tags","blobs_url":"https://api.github.com/repos/aboch/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aboch/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aboch/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/aboch/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aboch/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/aboch/docker/languages","stargazers_url":"https://api.github.com/repos/aboch/docker/stargazers","contributors_url":"https://api.github.com/repos/aboch/docker/contributors","subscribers_url":"https://api.github.com/repos/aboch/docker/subscribers","subscription_url":"https://api.github.com/repos/aboch/docker/subscription","commits_url":"https://api.github.com/repos/aboch/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/aboch/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/aboch/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/aboch/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/aboch/docker/contents/{+path}","compare_url":"https://api.github.com/repos/aboch/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aboch/docker/merges","archive_url":"https://api.github.com/repos/aboch/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aboch/docker/downloads","issues_url":"https://api.github.com/repos/aboch/docker/issues{/number}","pulls_url":"https://api.github.com/repos/aboch/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/aboch/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/aboch/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aboch/docker/labels{/name}","releases_url":"https://api.github.com/repos/aboch/docker/releases{/id}","deployments_url":"https://api.github.com/repos/aboch/docker/deployments","created_at":"2015-04-07T20:00:43Z","updated_at":"2015-04-07T20:00:57Z","pushed_at":"2016-01-25T19:46:31Z","git_url":"git://github.com/aboch/docker.git","ssh_url":"git@github.com:aboch/docker.git","clone_url":"https://github.com/aboch/docker.git","svn_url":"https://github.com/aboch/docker","homepage":"http://www.docker.com","size":79069,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"docker:master","ref":"master","sha":"9ae51b3e0f01111b743c61d8d0811e7061b490df","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","deployments_url":"https://api.github.com/repos/docker/docker/deployments","created_at":"2013-01-18T18:10:57Z","updated_at":"2016-01-25T20:13:23Z","pushed_at":"2016-01-25T20:46:38Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":125039,"stargazers_count":28085,"watchers_count":28085,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7761,"mirror_url":null,"open_issues_count":1290,"forks":7761,"open_issues":1290,"watchers":28085,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/19560"},"html":{"href":"https://github.com/docker/docker/pull/19560"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/19560"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/19560/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/19560/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/19560/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/34f50ef6680d35553d403d0c8b0739c76e4c9f89"}}}}