{"action":"created","comment":{"url":"https://api.github.com/repos/allegro/marathon-consul/pulls/comments/49847707","id":49847707,"diff_hunk":"@@ -62,6 +62,7 @@ func (config *Config) parseFlags() {\n \tflag.StringVar(&config.Consul.SslCert, \"consul-ssl-cert\", \"\", \"Path to an SSL client certificate to use to authenticate to the Consul server\")\n \tflag.StringVar(&config.Consul.SslCaCert, \"consul-ssl-ca-cert\", \"\", \"Path to a CA certificate file, containing one or more CA certificates to use to validate the certificate sent by the Consul server to us\")\n \tflag.StringVar(&config.Consul.Token, \"consul-token\", \"\", \"The Consul ACL token\")\n+\tflag.StringVar(&config.Consul.Tag, \"consul-tag\", \"marathon\", \"Common tag name added to every service registered in Consul, should be unique for every Marathon-cluster connected to Consul\")","path":"config/config.go","position":4,"original_position":4,"commit_id":"f2047c05556acfd73cb0c5ec8e264edc51e5a09c","original_commit_id":"f2047c05556acfd73cb0c5ec8e264edc51e5a09c","user":{"login":"janisz","id":1616386,"avatar_url":"https://avatars.githubusercontent.com/u/1616386?v=3","gravatar_id":"","url":"https://api.github.com/users/janisz","html_url":"https://github.com/janisz","followers_url":"https://api.github.com/users/janisz/followers","following_url":"https://api.github.com/users/janisz/following{/other_user}","gists_url":"https://api.github.com/users/janisz/gists{/gist_id}","starred_url":"https://api.github.com/users/janisz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisz/subscriptions","organizations_url":"https://api.github.com/users/janisz/orgs","repos_url":"https://api.github.com/users/janisz/repos","events_url":"https://api.github.com/users/janisz/events{/privacy}","received_events_url":"https://api.github.com/users/janisz/received_events","type":"User","site_admin":false},"body":"Maybe add this field in sample config?","created_at":"2016-01-15T12:17:00Z","updated_at":"2016-01-15T12:17:00Z","html_url":"https://github.com/allegro/marathon-consul/pull/30#discussion_r49847707","pull_request_url":"https://api.github.com/repos/allegro/marathon-consul/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/allegro/marathon-consul/pulls/comments/49847707"},"html":{"href":"https://github.com/allegro/marathon-consul/pull/30#discussion_r49847707"},"pull_request":{"href":"https://api.github.com/repos/allegro/marathon-consul/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/allegro/marathon-consul/pulls/30","id":56162081,"html_url":"https://github.com/allegro/marathon-consul/pull/30","diff_url":"https://github.com/allegro/marathon-consul/pull/30.diff","patch_url":"https://github.com/allegro/marathon-consul/pull/30.patch","issue_url":"https://api.github.com/repos/allegro/marathon-consul/issues/30","number":30,"state":"open","locked":false,"title":"Configurable Consul tag name","user":{"login":"dankraw","id":2399036,"avatar_url":"https://avatars.githubusercontent.com/u/2399036?v=3","gravatar_id":"","url":"https://api.github.com/users/dankraw","html_url":"https://github.com/dankraw","followers_url":"https://api.github.com/users/dankraw/followers","following_url":"https://api.github.com/users/dankraw/following{/other_user}","gists_url":"https://api.github.com/users/dankraw/gists{/gist_id}","starred_url":"https://api.github.com/users/dankraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankraw/subscriptions","organizations_url":"https://api.github.com/users/dankraw/orgs","repos_url":"https://api.github.com/users/dankraw/repos","events_url":"https://api.github.com/users/dankraw/events{/privacy}","received_events_url":"https://api.github.com/users/dankraw/received_events","type":"User","site_admin":false},"body":"`consul-tag` property added - fixes #29 \r\n","created_at":"2016-01-15T12:09:06Z","updated_at":"2016-01-15T12:17:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0aca19c7d053c7829e50aa4e821a87252dc4afbc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/allegro/marathon-consul/pulls/30/commits","review_comments_url":"https://api.github.com/repos/allegro/marathon-consul/pulls/30/comments","review_comment_url":"https://api.github.com/repos/allegro/marathon-consul/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allegro/marathon-consul/issues/30/comments","statuses_url":"https://api.github.com/repos/allegro/marathon-consul/statuses/f2047c05556acfd73cb0c5ec8e264edc51e5a09c","head":{"label":"allegro:configurable_tag_name","ref":"configurable_tag_name","sha":"f2047c05556acfd73cb0c5ec8e264edc51e5a09c","user":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"repo":{"id":47399967,"name":"marathon-consul","full_name":"allegro/marathon-consul","owner":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allegro/marathon-consul","description":"Event-based registration of Marathon apps in Consul","fork":false,"url":"https://api.github.com/repos/allegro/marathon-consul","forks_url":"https://api.github.com/repos/allegro/marathon-consul/forks","keys_url":"https://api.github.com/repos/allegro/marathon-consul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allegro/marathon-consul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allegro/marathon-consul/teams","hooks_url":"https://api.github.com/repos/allegro/marathon-consul/hooks","issue_events_url":"https://api.github.com/repos/allegro/marathon-consul/issues/events{/number}","events_url":"https://api.github.com/repos/allegro/marathon-consul/events","assignees_url":"https://api.github.com/repos/allegro/marathon-consul/assignees{/user}","branches_url":"https://api.github.com/repos/allegro/marathon-consul/branches{/branch}","tags_url":"https://api.github.com/repos/allegro/marathon-consul/tags","blobs_url":"https://api.github.com/repos/allegro/marathon-consul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allegro/marathon-consul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allegro/marathon-consul/git/refs{/sha}","trees_url":"https://api.github.com/repos/allegro/marathon-consul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allegro/marathon-consul/statuses/{sha}","languages_url":"https://api.github.com/repos/allegro/marathon-consul/languages","stargazers_url":"https://api.github.com/repos/allegro/marathon-consul/stargazers","contributors_url":"https://api.github.com/repos/allegro/marathon-consul/contributors","subscribers_url":"https://api.github.com/repos/allegro/marathon-consul/subscribers","subscription_url":"https://api.github.com/repos/allegro/marathon-consul/subscription","commits_url":"https://api.github.com/repos/allegro/marathon-consul/commits{/sha}","git_commits_url":"https://api.github.com/repos/allegro/marathon-consul/git/commits{/sha}","comments_url":"https://api.github.com/repos/allegro/marathon-consul/comments{/number}","issue_comment_url":"https://api.github.com/repos/allegro/marathon-consul/issues/comments{/number}","contents_url":"https://api.github.com/repos/allegro/marathon-consul/contents/{+path}","compare_url":"https://api.github.com/repos/allegro/marathon-consul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allegro/marathon-consul/merges","archive_url":"https://api.github.com/repos/allegro/marathon-consul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allegro/marathon-consul/downloads","issues_url":"https://api.github.com/repos/allegro/marathon-consul/issues{/number}","pulls_url":"https://api.github.com/repos/allegro/marathon-consul/pulls{/number}","milestones_url":"https://api.github.com/repos/allegro/marathon-consul/milestones{/number}","notifications_url":"https://api.github.com/repos/allegro/marathon-consul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allegro/marathon-consul/labels{/name}","releases_url":"https://api.github.com/repos/allegro/marathon-consul/releases{/id}","created_at":"2015-12-04T11:26:26Z","updated_at":"2016-01-14T15:09:44Z","pushed_at":"2016-01-15T12:09:06Z","git_url":"git://github.com/allegro/marathon-consul.git","ssh_url":"git@github.com:allegro/marathon-consul.git","clone_url":"https://github.com/allegro/marathon-consul.git","svn_url":"https://github.com/allegro/marathon-consul","homepage":"","size":188,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":34,"default_branch":"master"}},"base":{"label":"allegro:master","ref":"master","sha":"b643186ed980d4d944e1095eae6198ad7f7b2ec0","user":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"repo":{"id":47399967,"name":"marathon-consul","full_name":"allegro/marathon-consul","owner":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allegro/marathon-consul","description":"Event-based registration of Marathon apps in Consul","fork":false,"url":"https://api.github.com/repos/allegro/marathon-consul","forks_url":"https://api.github.com/repos/allegro/marathon-consul/forks","keys_url":"https://api.github.com/repos/allegro/marathon-consul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allegro/marathon-consul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allegro/marathon-consul/teams","hooks_url":"https://api.github.com/repos/allegro/marathon-consul/hooks","issue_events_url":"https://api.github.com/repos/allegro/marathon-consul/issues/events{/number}","events_url":"https://api.github.com/repos/allegro/marathon-consul/events","assignees_url":"https://api.github.com/repos/allegro/marathon-consul/assignees{/user}","branches_url":"https://api.github.com/repos/allegro/marathon-consul/branches{/branch}","tags_url":"https://api.github.com/repos/allegro/marathon-consul/tags","blobs_url":"https://api.github.com/repos/allegro/marathon-consul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allegro/marathon-consul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allegro/marathon-consul/git/refs{/sha}","trees_url":"https://api.github.com/repos/allegro/marathon-consul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allegro/marathon-consul/statuses/{sha}","languages_url":"https://api.github.com/repos/allegro/marathon-consul/languages","stargazers_url":"https://api.github.com/repos/allegro/marathon-consul/stargazers","contributors_url":"https://api.github.com/repos/allegro/marathon-consul/contributors","subscribers_url":"https://api.github.com/repos/allegro/marathon-consul/subscribers","subscription_url":"https://api.github.com/repos/allegro/marathon-consul/subscription","commits_url":"https://api.github.com/repos/allegro/marathon-consul/commits{/sha}","git_commits_url":"https://api.github.com/repos/allegro/marathon-consul/git/commits{/sha}","comments_url":"https://api.github.com/repos/allegro/marathon-consul/comments{/number}","issue_comment_url":"https://api.github.com/repos/allegro/marathon-consul/issues/comments{/number}","contents_url":"https://api.github.com/repos/allegro/marathon-consul/contents/{+path}","compare_url":"https://api.github.com/repos/allegro/marathon-consul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allegro/marathon-consul/merges","archive_url":"https://api.github.com/repos/allegro/marathon-consul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allegro/marathon-consul/downloads","issues_url":"https://api.github.com/repos/allegro/marathon-consul/issues{/number}","pulls_url":"https://api.github.com/repos/allegro/marathon-consul/pulls{/number}","milestones_url":"https://api.github.com/repos/allegro/marathon-consul/milestones{/number}","notifications_url":"https://api.github.com/repos/allegro/marathon-consul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allegro/marathon-consul/labels{/name}","releases_url":"https://api.github.com/repos/allegro/marathon-consul/releases{/id}","created_at":"2015-12-04T11:26:26Z","updated_at":"2016-01-14T15:09:44Z","pushed_at":"2016-01-15T12:09:06Z","git_url":"git://github.com/allegro/marathon-consul.git","ssh_url":"git@github.com:allegro/marathon-consul.git","clone_url":"https://github.com/allegro/marathon-consul.git","svn_url":"https://github.com/allegro/marathon-consul","homepage":"","size":188,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allegro/marathon-consul/pulls/30"},"html":{"href":"https://github.com/allegro/marathon-consul/pull/30"},"issue":{"href":"https://api.github.com/repos/allegro/marathon-consul/issues/30"},"comments":{"href":"https://api.github.com/repos/allegro/marathon-consul/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/allegro/marathon-consul/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/allegro/marathon-consul/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allegro/marathon-consul/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/allegro/marathon-consul/statuses/f2047c05556acfd73cb0c5ec8e264edc51e5a09c"}}}}