{"action":"created","comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments/142605997","pull_request_review_id":66987948,"id":142605997,"diff_hunk":"@@ -256,9 +303,19 @@ func flattenContainerGroupContainers(containers *[]containerinstance.Container)\n \t\t}\n \n \t\tif len(*container.Ports) > 0 {\n-\t\t\tcontainerConfig[\"port\"] = *(*container.Ports)[0].Port\n+\t\t\tcontainerPort := *(*container.Ports)[0].Port\n+\t\t\tcontainerConfig[\"port\"] = containerPort\n+\t\t\t// protocol isn't returned in container config, have to search in container group ports\n+\t\t\tprotocol := \"\"\n+\t\t\tfor _, cgPort := range *containerGroupPorts {","path":"azurerm/resource_arm_container_group.go","position":99,"original_position":99,"commit_id":"a3feb9fbb6b854f23e8796e10200b27d9fbe209f","original_commit_id":"a3feb9fbb6b854f23e8796e10200b27d9fbe209f","user":{"login":"abhijeetgaiha","id":2989390,"avatar_url":"https://avatars2.githubusercontent.com/u/2989390?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijeetgaiha","html_url":"https://github.com/abhijeetgaiha","followers_url":"https://api.github.com/users/abhijeetgaiha/followers","following_url":"https://api.github.com/users/abhijeetgaiha/following{/other_user}","gists_url":"https://api.github.com/users/abhijeetgaiha/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijeetgaiha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijeetgaiha/subscriptions","organizations_url":"https://api.github.com/users/abhijeetgaiha/orgs","repos_url":"https://api.github.com/users/abhijeetgaiha/repos","events_url":"https://api.github.com/users/abhijeetgaiha/events{/privacy}","received_events_url":"https://api.github.com/users/abhijeetgaiha/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2017-10-04T08:14:31Z","updated_at":"2017-10-04T08:14:31Z","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/366#discussion_r142605997","pull_request_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments/142605997"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/366#discussion_r142605997"},"pull_request":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366"}},"in_reply_to_id":142602468},"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366","id":143825650,"html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/366","diff_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/366.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/366.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/366","number":366,"state":"open","locked":false,"title":"ACI: Add support for Volume mounts","user":{"login":"abhijeetgaiha","id":2989390,"avatar_url":"https://avatars2.githubusercontent.com/u/2989390?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijeetgaiha","html_url":"https://github.com/abhijeetgaiha","followers_url":"https://api.github.com/users/abhijeetgaiha/followers","following_url":"https://api.github.com/users/abhijeetgaiha/following{/other_user}","gists_url":"https://api.github.com/users/abhijeetgaiha/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijeetgaiha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijeetgaiha/subscriptions","organizations_url":"https://api.github.com/users/abhijeetgaiha/orgs","repos_url":"https://api.github.com/users/abhijeetgaiha/repos","events_url":"https://api.github.com/users/abhijeetgaiha/events{/privacy}","received_events_url":"https://api.github.com/users/abhijeetgaiha/received_events","type":"User","site_admin":false},"body":"Added support for Volume mounts in Azure container groups.","created_at":"2017-09-29T07:43:34Z","updated_at":"2017-10-04T08:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54cdb09270daec81949c0c2a707b84f7d574a449","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/366/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/statuses/a3feb9fbb6b854f23e8796e10200b27d9fbe209f","head":{"label":"abhijeetgaiha:master","ref":"master","sha":"a3feb9fbb6b854f23e8796e10200b27d9fbe209f","user":{"login":"abhijeetgaiha","id":2989390,"avatar_url":"https://avatars2.githubusercontent.com/u/2989390?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijeetgaiha","html_url":"https://github.com/abhijeetgaiha","followers_url":"https://api.github.com/users/abhijeetgaiha/followers","following_url":"https://api.github.com/users/abhijeetgaiha/following{/other_user}","gists_url":"https://api.github.com/users/abhijeetgaiha/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijeetgaiha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijeetgaiha/subscriptions","organizations_url":"https://api.github.com/users/abhijeetgaiha/orgs","repos_url":"https://api.github.com/users/abhijeetgaiha/repos","events_url":"https://api.github.com/users/abhijeetgaiha/events{/privacy}","received_events_url":"https://api.github.com/users/abhijeetgaiha/received_events","type":"User","site_admin":false},"repo":{"id":94288483,"name":"terraform-provider-azurerm","full_name":"abhijeetgaiha/terraform-provider-azurerm","owner":{"login":"abhijeetgaiha","id":2989390,"avatar_url":"https://avatars2.githubusercontent.com/u/2989390?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijeetgaiha","html_url":"https://github.com/abhijeetgaiha","followers_url":"https://api.github.com/users/abhijeetgaiha/followers","following_url":"https://api.github.com/users/abhijeetgaiha/following{/other_user}","gists_url":"https://api.github.com/users/abhijeetgaiha/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijeetgaiha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijeetgaiha/subscriptions","organizations_url":"https://api.github.com/users/abhijeetgaiha/orgs","repos_url":"https://api.github.com/users/abhijeetgaiha/repos","events_url":"https://api.github.com/users/abhijeetgaiha/events{/privacy}","received_events_url":"https://api.github.com/users/abhijeetgaiha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abhijeetgaiha/terraform-provider-azurerm","description":"Terraform AzureRM provider","fork":true,"url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm","forks_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/forks","keys_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/teams","hooks_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/hooks","issue_events_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/issues/events{/number}","events_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/events","assignees_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/assignees{/user}","branches_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/branches{/branch}","tags_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/tags","blobs_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/statuses/{sha}","languages_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/languages","stargazers_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/stargazers","contributors_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/contributors","subscribers_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/subscribers","subscription_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/subscription","commits_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/issues/comments{/number}","contents_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/contents/{+path}","compare_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/merges","archive_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/downloads","issues_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/issues{/number}","pulls_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/pulls{/number}","milestones_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/milestones{/number}","notifications_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/labels{/name}","releases_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/releases{/id}","deployments_url":"https://api.github.com/repos/abhijeetgaiha/terraform-provider-azurerm/deployments","created_at":"2017-06-14T04:21:43Z","updated_at":"2017-06-14T04:21:45Z","pushed_at":"2017-10-02T12:10:39Z","git_url":"git://github.com/abhijeetgaiha/terraform-provider-azurerm.git","ssh_url":"git@github.com:abhijeetgaiha/terraform-provider-azurerm.git","clone_url":"https://github.com/abhijeetgaiha/terraform-provider-azurerm.git","svn_url":"https://github.com/abhijeetgaiha/terraform-provider-azurerm","homepage":"","size":7179,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":"terraform-providers:master","ref":"master","sha":"a95a36f7dff3405ddf94e474f3a6d145453e0506","user":{"login":"terraform-providers","id":29154831,"avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"repo":{"id":93446042,"name":"terraform-provider-azurerm","full_name":"terraform-providers/terraform-provider-azurerm","owner":{"login":"terraform-providers","id":29154831,"avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/terraform-providers/terraform-provider-azurerm","description":"Terraform azurerm provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/deployments","created_at":"2017-06-05T20:53:54Z","updated_at":"2017-10-03T19:06:26Z","pushed_at":"2017-10-03T15:41:42Z","git_url":"git://github.com/terraform-providers/terraform-provider-azurerm.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-azurerm.git","clone_url":"https://github.com/terraform-providers/terraform-provider-azurerm.git","svn_url":"https://github.com/terraform-providers/terraform-provider-azurerm","homepage":"","size":10065,"stargazers_count":85,"watchers_count":85,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":147,"forks":71,"open_issues":147,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/366"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/366"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/366/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/366/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/statuses/a3feb9fbb6b854f23e8796e10200b27d9fbe209f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"abhijeetgaiha"}}