{"action":"created","comment":{"url":"https://api.github.com/repos/swarm-hooks/swarm/pulls/comments/73826991","id":73826991,"diff_hunk":"@@ -59,6 +60,9 @@ func (nameScoping *DefaultNameScopingImpl) Handle(command utils.CommandEnum, clu\n \t\t\tnewQuery = strings.Replace(r.RequestURI, r.URL.Query().Get(\"name\"), r.URL.Query().Get(\"name\")+r.Header.Get(headers.AuthZTenantIdHeaderName), 1)\n \t\t\tconfig.Config.Labels[headers.OriginalNameLabel] = r.URL.Query().Get(\"name\")\n \t\t}\n+\t\t// Replace network reference with network ID, force Network-scoped alias for DNS use.","path":"pkg/multiTenancyPlugins/naming/nameScoping.go","position":12,"original_position":12,"commit_id":"5f7b0b01aae0e7ccbfd755f5270c35cb63801279","original_commit_id":"5f7b0b01aae0e7ccbfd755f5270c35cb63801279","user":{"login":"andreyod","id":16204273,"avatar_url":"https://avatars.githubusercontent.com/u/16204273?v=3","gravatar_id":"","url":"https://api.github.com/users/andreyod","html_url":"https://github.com/andreyod","followers_url":"https://api.github.com/users/andreyod/followers","following_url":"https://api.github.com/users/andreyod/following{/other_user}","gists_url":"https://api.github.com/users/andreyod/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyod/subscriptions","organizations_url":"https://api.github.com/users/andreyod/orgs","repos_url":"https://api.github.com/users/andreyod/repos","events_url":"https://api.github.com/users/andreyod/events{/privacy}","received_events_url":"https://api.github.com/users/andreyod/received_events","type":"User","site_admin":false},"body":"Goes to the engine with network name without the prefix and fail. Additional name scoping is needed when --net-alias is provided. ","created_at":"2016-08-08T06:25:12Z","updated_at":"2016-08-08T06:25:12Z","html_url":"https://github.com/swarm-hooks/swarm/pull/72#discussion_r73826991","pull_request_url":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/swarm-hooks/swarm/pulls/comments/73826991"},"html":{"href":"https://github.com/swarm-hooks/swarm/pull/72#discussion_r73826991"},"pull_request":{"href":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72","id":80368475,"html_url":"https://github.com/swarm-hooks/swarm/pull/72","diff_url":"https://github.com/swarm-hooks/swarm/pull/72.diff","patch_url":"https://github.com/swarm-hooks/swarm/pull/72.patch","issue_url":"https://api.github.com/repos/swarm-hooks/swarm/issues/72","number":72,"state":"open","locked":false,"title":"Add network alias for DNS use.","user":{"login":"andreyod","id":16204273,"avatar_url":"https://avatars.githubusercontent.com/u/16204273?v=3","gravatar_id":"","url":"https://api.github.com/users/andreyod","html_url":"https://github.com/andreyod","followers_url":"https://api.github.com/users/andreyod/followers","following_url":"https://api.github.com/users/andreyod/following{/other_user}","gists_url":"https://api.github.com/users/andreyod/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyod/subscriptions","organizations_url":"https://api.github.com/users/andreyod/orgs","repos_url":"https://api.github.com/users/andreyod/repos","events_url":"https://api.github.com/users/andreyod/events{/privacy}","received_events_url":"https://api.github.com/users/andreyod/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-07T14:29:53Z","updated_at":"2016-08-08T06:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e60b8fad7fa3e5f78a0f4b479cdfeb6b10eb7aa1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72/commits","review_comments_url":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72/comments","review_comment_url":"https://api.github.com/repos/swarm-hooks/swarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swarm-hooks/swarm/issues/72/comments","statuses_url":"https://api.github.com/repos/swarm-hooks/swarm/statuses/5f7b0b01aae0e7ccbfd755f5270c35cb63801279","head":{"label":"swarm-hooks:netAlias","ref":"netAlias","sha":"5f7b0b01aae0e7ccbfd755f5270c35cb63801279","user":{"login":"swarm-hooks","id":13561092,"avatar_url":"https://avatars.githubusercontent.com/u/13561092?v=3","gravatar_id":"","url":"https://api.github.com/users/swarm-hooks","html_url":"https://github.com/swarm-hooks","followers_url":"https://api.github.com/users/swarm-hooks/followers","following_url":"https://api.github.com/users/swarm-hooks/following{/other_user}","gists_url":"https://api.github.com/users/swarm-hooks/gists{/gist_id}","starred_url":"https://api.github.com/users/swarm-hooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swarm-hooks/subscriptions","organizations_url":"https://api.github.com/users/swarm-hooks/orgs","repos_url":"https://api.github.com/users/swarm-hooks/repos","events_url":"https://api.github.com/users/swarm-hooks/events{/privacy}","received_events_url":"https://api.github.com/users/swarm-hooks/received_events","type":"Organization","site_admin":false},"repo":{"id":39914193,"name":"swarm","full_name":"swarm-hooks/swarm","owner":{"login":"swarm-hooks","id":13561092,"avatar_url":"https://avatars.githubusercontent.com/u/13561092?v=3","gravatar_id":"","url":"https://api.github.com/users/swarm-hooks","html_url":"https://github.com/swarm-hooks","followers_url":"https://api.github.com/users/swarm-hooks/followers","following_url":"https://api.github.com/users/swarm-hooks/following{/other_user}","gists_url":"https://api.github.com/users/swarm-hooks/gists{/gist_id}","starred_url":"https://api.github.com/users/swarm-hooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swarm-hooks/subscriptions","organizations_url":"https://api.github.com/users/swarm-hooks/orgs","repos_url":"https://api.github.com/users/swarm-hooks/repos","events_url":"https://api.github.com/users/swarm-hooks/events{/privacy}","received_events_url":"https://api.github.com/users/swarm-hooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swarm-hooks/swarm","description":"Swarm: a Docker-native clustering system","fork":true,"url":"https://api.github.com/repos/swarm-hooks/swarm","forks_url":"https://api.github.com/repos/swarm-hooks/swarm/forks","keys_url":"https://api.github.com/repos/swarm-hooks/swarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swarm-hooks/swarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swarm-hooks/swarm/teams","hooks_url":"https://api.github.com/repos/swarm-hooks/swarm/hooks","issue_events_url":"https://api.github.com/repos/swarm-hooks/swarm/issues/events{/number}","events_url":"https://api.github.com/repos/swarm-hooks/swarm/events","assignees_url":"https://api.github.com/repos/swarm-hooks/swarm/assignees{/user}","branches_url":"https://api.github.com/repos/swarm-hooks/swarm/branches{/branch}","tags_url":"https://api.github.com/repos/swarm-hooks/swarm/tags","blobs_url":"https://api.github.com/repos/swarm-hooks/swarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swarm-hooks/swarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swarm-hooks/swarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/swarm-hooks/swarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swarm-hooks/swarm/statuses/{sha}","languages_url":"https://api.github.com/repos/swarm-hooks/swarm/languages","stargazers_url":"https://api.github.com/repos/swarm-hooks/swarm/stargazers","contributors_url":"https://api.github.com/repos/swarm-hooks/swarm/contributors","subscribers_url":"https://api.github.com/repos/swarm-hooks/swarm/subscribers","subscription_url":"https://api.github.com/repos/swarm-hooks/swarm/subscription","commits_url":"https://api.github.com/repos/swarm-hooks/swarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/swarm-hooks/swarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/swarm-hooks/swarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/swarm-hooks/swarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/swarm-hooks/swarm/contents/{+path}","compare_url":"https://api.github.com/repos/swarm-hooks/swarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swarm-hooks/swarm/merges","archive_url":"https://api.github.com/repos/swarm-hooks/swarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swarm-hooks/swarm/downloads","issues_url":"https://api.github.com/repos/swarm-hooks/swarm/issues{/number}","pulls_url":"https://api.github.com/repos/swarm-hooks/swarm/pulls{/number}","milestones_url":"https://api.github.com/repos/swarm-hooks/swarm/milestones{/number}","notifications_url":"https://api.github.com/repos/swarm-hooks/swarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swarm-hooks/swarm/labels{/name}","releases_url":"https://api.github.com/repos/swarm-hooks/swarm/releases{/id}","deployments_url":"https://api.github.com/repos/swarm-hooks/swarm/deployments","created_at":"2015-07-29T20:17:58Z","updated_at":"2016-07-16T15:07:13Z","pushed_at":"2016-08-07T14:29:53Z","git_url":"git://github.com/swarm-hooks/swarm.git","ssh_url":"git@github.com:swarm-hooks/swarm.git","clone_url":"https://github.com/swarm-hooks/swarm.git","svn_url":"https://github.com/swarm-hooks/swarm","homepage":"","size":29327,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"swarm-hooks:baseMultiTenant","ref":"baseMultiTenant","sha":"3c76c993f0f53a0c6fba5dae544029dec709712d","user":{"login":"swarm-hooks","id":13561092,"avatar_url":"https://avatars.githubusercontent.com/u/13561092?v=3","gravatar_id":"","url":"https://api.github.com/users/swarm-hooks","html_url":"https://github.com/swarm-hooks","followers_url":"https://api.github.com/users/swarm-hooks/followers","following_url":"https://api.github.com/users/swarm-hooks/following{/other_user}","gists_url":"https://api.github.com/users/swarm-hooks/gists{/gist_id}","starred_url":"https://api.github.com/users/swarm-hooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swarm-hooks/subscriptions","organizations_url":"https://api.github.com/users/swarm-hooks/orgs","repos_url":"https://api.github.com/users/swarm-hooks/repos","events_url":"https://api.github.com/users/swarm-hooks/events{/privacy}","received_events_url":"https://api.github.com/users/swarm-hooks/received_events","type":"Organization","site_admin":false},"repo":{"id":39914193,"name":"swarm","full_name":"swarm-hooks/swarm","owner":{"login":"swarm-hooks","id":13561092,"avatar_url":"https://avatars.githubusercontent.com/u/13561092?v=3","gravatar_id":"","url":"https://api.github.com/users/swarm-hooks","html_url":"https://github.com/swarm-hooks","followers_url":"https://api.github.com/users/swarm-hooks/followers","following_url":"https://api.github.com/users/swarm-hooks/following{/other_user}","gists_url":"https://api.github.com/users/swarm-hooks/gists{/gist_id}","starred_url":"https://api.github.com/users/swarm-hooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swarm-hooks/subscriptions","organizations_url":"https://api.github.com/users/swarm-hooks/orgs","repos_url":"https://api.github.com/users/swarm-hooks/repos","events_url":"https://api.github.com/users/swarm-hooks/events{/privacy}","received_events_url":"https://api.github.com/users/swarm-hooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swarm-hooks/swarm","description":"Swarm: a Docker-native clustering system","fork":true,"url":"https://api.github.com/repos/swarm-hooks/swarm","forks_url":"https://api.github.com/repos/swarm-hooks/swarm/forks","keys_url":"https://api.github.com/repos/swarm-hooks/swarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swarm-hooks/swarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swarm-hooks/swarm/teams","hooks_url":"https://api.github.com/repos/swarm-hooks/swarm/hooks","issue_events_url":"https://api.github.com/repos/swarm-hooks/swarm/issues/events{/number}","events_url":"https://api.github.com/repos/swarm-hooks/swarm/events","assignees_url":"https://api.github.com/repos/swarm-hooks/swarm/assignees{/user}","branches_url":"https://api.github.com/repos/swarm-hooks/swarm/branches{/branch}","tags_url":"https://api.github.com/repos/swarm-hooks/swarm/tags","blobs_url":"https://api.github.com/repos/swarm-hooks/swarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swarm-hooks/swarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swarm-hooks/swarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/swarm-hooks/swarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swarm-hooks/swarm/statuses/{sha}","languages_url":"https://api.github.com/repos/swarm-hooks/swarm/languages","stargazers_url":"https://api.github.com/repos/swarm-hooks/swarm/stargazers","contributors_url":"https://api.github.com/repos/swarm-hooks/swarm/contributors","subscribers_url":"https://api.github.com/repos/swarm-hooks/swarm/subscribers","subscription_url":"https://api.github.com/repos/swarm-hooks/swarm/subscription","commits_url":"https://api.github.com/repos/swarm-hooks/swarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/swarm-hooks/swarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/swarm-hooks/swarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/swarm-hooks/swarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/swarm-hooks/swarm/contents/{+path}","compare_url":"https://api.github.com/repos/swarm-hooks/swarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swarm-hooks/swarm/merges","archive_url":"https://api.github.com/repos/swarm-hooks/swarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swarm-hooks/swarm/downloads","issues_url":"https://api.github.com/repos/swarm-hooks/swarm/issues{/number}","pulls_url":"https://api.github.com/repos/swarm-hooks/swarm/pulls{/number}","milestones_url":"https://api.github.com/repos/swarm-hooks/swarm/milestones{/number}","notifications_url":"https://api.github.com/repos/swarm-hooks/swarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swarm-hooks/swarm/labels{/name}","releases_url":"https://api.github.com/repos/swarm-hooks/swarm/releases{/id}","deployments_url":"https://api.github.com/repos/swarm-hooks/swarm/deployments","created_at":"2015-07-29T20:17:58Z","updated_at":"2016-07-16T15:07:13Z","pushed_at":"2016-08-07T14:29:53Z","git_url":"git://github.com/swarm-hooks/swarm.git","ssh_url":"git@github.com:swarm-hooks/swarm.git","clone_url":"https://github.com/swarm-hooks/swarm.git","svn_url":"https://github.com/swarm-hooks/swarm","homepage":"","size":29327,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72"},"html":{"href":"https://github.com/swarm-hooks/swarm/pull/72"},"issue":{"href":"https://api.github.com/repos/swarm-hooks/swarm/issues/72"},"comments":{"href":"https://api.github.com/repos/swarm-hooks/swarm/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/swarm-hooks/swarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swarm-hooks/swarm/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/swarm-hooks/swarm/statuses/5f7b0b01aae0e7ccbfd755f5270c35cb63801279"}}}}
{"actor":{"display_login":"andreyod"}}