{"action":"created","comment":{"url":"https://api.github.com/repos/helix-collective/camus/pulls/comments/59810675","id":59810675,"diff_hunk":"@@ -129,15 +141,30 @@ func (c *TerminalClient) listCmd() error {\n \t}\n \ttbl.PrintHeader()\n \n-\tfor _, deploy := range deploys {\n-\t\ttbl.PrintRow(\n-\t\t\tdeploy.Id,\n-\t\t\tdeploy.Pid,\n-\t\t\tyn(deploy.Tracked),\n-\t\t\tdeploy.Port,\n-\t\t\tdeploy.Health,\n-\t\t\tfmt.Sprintf(\"%v\", deploy.Errors),\n-\t\t)\n+\tvar deployIds []string\n+\tfor k := range deployTable {\n+\t\tdeployIds = append(deployIds, k)\n+\t}\n+\tsort.String(deployIds)\n+\n+\tfor _, deployId := range deployIds {","path":"terminal_client.go","position":null,"original_position":38,"commit_id":"5477fc27cfaa172429f733ed12477eb912fc76fa","original_commit_id":"8d7a1b1ca910339e2f08048a733d471435a06066","user":{"login":"jsuresh","id":157815,"avatar_url":"https://avatars.githubusercontent.com/u/157815?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuresh","html_url":"https://github.com/jsuresh","followers_url":"https://api.github.com/users/jsuresh/followers","following_url":"https://api.github.com/users/jsuresh/following{/other_user}","gists_url":"https://api.github.com/users/jsuresh/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuresh/subscriptions","organizations_url":"https://api.github.com/users/jsuresh/orgs","repos_url":"https://api.github.com/users/jsuresh/repos","events_url":"https://api.github.com/users/jsuresh/events{/privacy}","received_events_url":"https://api.github.com/users/jsuresh/received_events","type":"User","site_admin":false},"body":"You know what - agreed. Made the code simpler. I just did it :)","created_at":"2016-04-14T23:55:06Z","updated_at":"2016-04-14T23:55:06Z","html_url":"https://github.com/helix-collective/camus/pull/27#discussion_r59810675","pull_request_url":"https://api.github.com/repos/helix-collective/camus/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/helix-collective/camus/pulls/comments/59810675"},"html":{"href":"https://github.com/helix-collective/camus/pull/27#discussion_r59810675"},"pull_request":{"href":"https://api.github.com/repos/helix-collective/camus/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/helix-collective/camus/pulls/27","id":66112465,"html_url":"https://github.com/helix-collective/camus/pull/27","diff_url":"https://github.com/helix-collective/camus/pull/27.diff","patch_url":"https://github.com/helix-collective/camus/pull/27.patch","issue_url":"https://api.github.com/repos/helix-collective/camus/issues/27","number":27,"state":"open","locked":false,"title":"Better rendering of repeated deploy ids","user":{"login":"jsuresh","id":157815,"avatar_url":"https://avatars.githubusercontent.com/u/157815?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuresh","html_url":"https://github.com/jsuresh","followers_url":"https://api.github.com/users/jsuresh/followers","following_url":"https://api.github.com/users/jsuresh/following{/other_user}","gists_url":"https://api.github.com/users/jsuresh/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuresh/subscriptions","organizations_url":"https://api.github.com/users/jsuresh/orgs","repos_url":"https://api.github.com/users/jsuresh/repos","events_url":"https://api.github.com/users/jsuresh/events{/privacy}","received_events_url":"https://api.github.com/users/jsuresh/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-12T07:34:00Z","updated_at":"2016-04-14T23:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34d38484f6a65102da4c5e8c3d642deebb7d424f","assignee":{"login":"soulplant","id":16846,"avatar_url":"https://avatars.githubusercontent.com/u/16846?v=3","gravatar_id":"","url":"https://api.github.com/users/soulplant","html_url":"https://github.com/soulplant","followers_url":"https://api.github.com/users/soulplant/followers","following_url":"https://api.github.com/users/soulplant/following{/other_user}","gists_url":"https://api.github.com/users/soulplant/gists{/gist_id}","starred_url":"https://api.github.com/users/soulplant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulplant/subscriptions","organizations_url":"https://api.github.com/users/soulplant/orgs","repos_url":"https://api.github.com/users/soulplant/repos","events_url":"https://api.github.com/users/soulplant/events{/privacy}","received_events_url":"https://api.github.com/users/soulplant/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/helix-collective/camus/pulls/27/commits","review_comments_url":"https://api.github.com/repos/helix-collective/camus/pulls/27/comments","review_comment_url":"https://api.github.com/repos/helix-collective/camus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helix-collective/camus/issues/27/comments","statuses_url":"https://api.github.com/repos/helix-collective/camus/statuses/5477fc27cfaa172429f733ed12477eb912fc76fa","head":{"label":"helix-collective:jeeva/PR/better-rendering-of-repeated-deploy-ids","ref":"jeeva/PR/better-rendering-of-repeated-deploy-ids","sha":"5477fc27cfaa172429f733ed12477eb912fc76fa","user":{"login":"helix-collective","id":8785670,"avatar_url":"https://avatars.githubusercontent.com/u/8785670?v=3","gravatar_id":"","url":"https://api.github.com/users/helix-collective","html_url":"https://github.com/helix-collective","followers_url":"https://api.github.com/users/helix-collective/followers","following_url":"https://api.github.com/users/helix-collective/following{/other_user}","gists_url":"https://api.github.com/users/helix-collective/gists{/gist_id}","starred_url":"https://api.github.com/users/helix-collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix-collective/subscriptions","organizations_url":"https://api.github.com/users/helix-collective/orgs","repos_url":"https://api.github.com/users/helix-collective/repos","events_url":"https://api.github.com/users/helix-collective/events{/privacy}","received_events_url":"https://api.github.com/users/helix-collective/received_events","type":"Organization","site_admin":false},"repo":{"id":34597879,"name":"camus","full_name":"helix-collective/camus","owner":{"login":"helix-collective","id":8785670,"avatar_url":"https://avatars.githubusercontent.com/u/8785670?v=3","gravatar_id":"","url":"https://api.github.com/users/helix-collective","html_url":"https://github.com/helix-collective","followers_url":"https://api.github.com/users/helix-collective/followers","following_url":"https://api.github.com/users/helix-collective/following{/other_user}","gists_url":"https://api.github.com/users/helix-collective/gists{/gist_id}","starred_url":"https://api.github.com/users/helix-collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix-collective/subscriptions","organizations_url":"https://api.github.com/users/helix-collective/orgs","repos_url":"https://api.github.com/users/helix-collective/repos","events_url":"https://api.github.com/users/helix-collective/events{/privacy}","received_events_url":"https://api.github.com/users/helix-collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/helix-collective/camus","description":"Deployments that don't make you want to kill yourself","fork":false,"url":"https://api.github.com/repos/helix-collective/camus","forks_url":"https://api.github.com/repos/helix-collective/camus/forks","keys_url":"https://api.github.com/repos/helix-collective/camus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helix-collective/camus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helix-collective/camus/teams","hooks_url":"https://api.github.com/repos/helix-collective/camus/hooks","issue_events_url":"https://api.github.com/repos/helix-collective/camus/issues/events{/number}","events_url":"https://api.github.com/repos/helix-collective/camus/events","assignees_url":"https://api.github.com/repos/helix-collective/camus/assignees{/user}","branches_url":"https://api.github.com/repos/helix-collective/camus/branches{/branch}","tags_url":"https://api.github.com/repos/helix-collective/camus/tags","blobs_url":"https://api.github.com/repos/helix-collective/camus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helix-collective/camus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helix-collective/camus/git/refs{/sha}","trees_url":"https://api.github.com/repos/helix-collective/camus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helix-collective/camus/statuses/{sha}","languages_url":"https://api.github.com/repos/helix-collective/camus/languages","stargazers_url":"https://api.github.com/repos/helix-collective/camus/stargazers","contributors_url":"https://api.github.com/repos/helix-collective/camus/contributors","subscribers_url":"https://api.github.com/repos/helix-collective/camus/subscribers","subscription_url":"https://api.github.com/repos/helix-collective/camus/subscription","commits_url":"https://api.github.com/repos/helix-collective/camus/commits{/sha}","git_commits_url":"https://api.github.com/repos/helix-collective/camus/git/commits{/sha}","comments_url":"https://api.github.com/repos/helix-collective/camus/comments{/number}","issue_comment_url":"https://api.github.com/repos/helix-collective/camus/issues/comments{/number}","contents_url":"https://api.github.com/repos/helix-collective/camus/contents/{+path}","compare_url":"https://api.github.com/repos/helix-collective/camus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helix-collective/camus/merges","archive_url":"https://api.github.com/repos/helix-collective/camus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helix-collective/camus/downloads","issues_url":"https://api.github.com/repos/helix-collective/camus/issues{/number}","pulls_url":"https://api.github.com/repos/helix-collective/camus/pulls{/number}","milestones_url":"https://api.github.com/repos/helix-collective/camus/milestones{/number}","notifications_url":"https://api.github.com/repos/helix-collective/camus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helix-collective/camus/labels{/name}","releases_url":"https://api.github.com/repos/helix-collective/camus/releases{/id}","deployments_url":"https://api.github.com/repos/helix-collective/camus/deployments","created_at":"2015-04-26T04:30:14Z","updated_at":"2016-02-09T02:45:53Z","pushed_at":"2016-04-14T23:54:48Z","git_url":"git://github.com/helix-collective/camus.git","ssh_url":"git@github.com:helix-collective/camus.git","clone_url":"https://github.com/helix-collective/camus.git","svn_url":"https://github.com/helix-collective/camus","homepage":null,"size":103,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"helix-collective:jeeva/PR/removed-unused-note-field","ref":"jeeva/PR/removed-unused-note-field","sha":"c17df05555534af4f13c3458f00637cc7bd9f9fc","user":{"login":"helix-collective","id":8785670,"avatar_url":"https://avatars.githubusercontent.com/u/8785670?v=3","gravatar_id":"","url":"https://api.github.com/users/helix-collective","html_url":"https://github.com/helix-collective","followers_url":"https://api.github.com/users/helix-collective/followers","following_url":"https://api.github.com/users/helix-collective/following{/other_user}","gists_url":"https://api.github.com/users/helix-collective/gists{/gist_id}","starred_url":"https://api.github.com/users/helix-collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix-collective/subscriptions","organizations_url":"https://api.github.com/users/helix-collective/orgs","repos_url":"https://api.github.com/users/helix-collective/repos","events_url":"https://api.github.com/users/helix-collective/events{/privacy}","received_events_url":"https://api.github.com/users/helix-collective/received_events","type":"Organization","site_admin":false},"repo":{"id":34597879,"name":"camus","full_name":"helix-collective/camus","owner":{"login":"helix-collective","id":8785670,"avatar_url":"https://avatars.githubusercontent.com/u/8785670?v=3","gravatar_id":"","url":"https://api.github.com/users/helix-collective","html_url":"https://github.com/helix-collective","followers_url":"https://api.github.com/users/helix-collective/followers","following_url":"https://api.github.com/users/helix-collective/following{/other_user}","gists_url":"https://api.github.com/users/helix-collective/gists{/gist_id}","starred_url":"https://api.github.com/users/helix-collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix-collective/subscriptions","organizations_url":"https://api.github.com/users/helix-collective/orgs","repos_url":"https://api.github.com/users/helix-collective/repos","events_url":"https://api.github.com/users/helix-collective/events{/privacy}","received_events_url":"https://api.github.com/users/helix-collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/helix-collective/camus","description":"Deployments that don't make you want to kill yourself","fork":false,"url":"https://api.github.com/repos/helix-collective/camus","forks_url":"https://api.github.com/repos/helix-collective/camus/forks","keys_url":"https://api.github.com/repos/helix-collective/camus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helix-collective/camus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helix-collective/camus/teams","hooks_url":"https://api.github.com/repos/helix-collective/camus/hooks","issue_events_url":"https://api.github.com/repos/helix-collective/camus/issues/events{/number}","events_url":"https://api.github.com/repos/helix-collective/camus/events","assignees_url":"https://api.github.com/repos/helix-collective/camus/assignees{/user}","branches_url":"https://api.github.com/repos/helix-collective/camus/branches{/branch}","tags_url":"https://api.github.com/repos/helix-collective/camus/tags","blobs_url":"https://api.github.com/repos/helix-collective/camus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helix-collective/camus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helix-collective/camus/git/refs{/sha}","trees_url":"https://api.github.com/repos/helix-collective/camus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helix-collective/camus/statuses/{sha}","languages_url":"https://api.github.com/repos/helix-collective/camus/languages","stargazers_url":"https://api.github.com/repos/helix-collective/camus/stargazers","contributors_url":"https://api.github.com/repos/helix-collective/camus/contributors","subscribers_url":"https://api.github.com/repos/helix-collective/camus/subscribers","subscription_url":"https://api.github.com/repos/helix-collective/camus/subscription","commits_url":"https://api.github.com/repos/helix-collective/camus/commits{/sha}","git_commits_url":"https://api.github.com/repos/helix-collective/camus/git/commits{/sha}","comments_url":"https://api.github.com/repos/helix-collective/camus/comments{/number}","issue_comment_url":"https://api.github.com/repos/helix-collective/camus/issues/comments{/number}","contents_url":"https://api.github.com/repos/helix-collective/camus/contents/{+path}","compare_url":"https://api.github.com/repos/helix-collective/camus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helix-collective/camus/merges","archive_url":"https://api.github.com/repos/helix-collective/camus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helix-collective/camus/downloads","issues_url":"https://api.github.com/repos/helix-collective/camus/issues{/number}","pulls_url":"https://api.github.com/repos/helix-collective/camus/pulls{/number}","milestones_url":"https://api.github.com/repos/helix-collective/camus/milestones{/number}","notifications_url":"https://api.github.com/repos/helix-collective/camus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helix-collective/camus/labels{/name}","releases_url":"https://api.github.com/repos/helix-collective/camus/releases{/id}","deployments_url":"https://api.github.com/repos/helix-collective/camus/deployments","created_at":"2015-04-26T04:30:14Z","updated_at":"2016-02-09T02:45:53Z","pushed_at":"2016-04-14T23:54:48Z","git_url":"git://github.com/helix-collective/camus.git","ssh_url":"git@github.com:helix-collective/camus.git","clone_url":"https://github.com/helix-collective/camus.git","svn_url":"https://github.com/helix-collective/camus","homepage":null,"size":103,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helix-collective/camus/pulls/27"},"html":{"href":"https://github.com/helix-collective/camus/pull/27"},"issue":{"href":"https://api.github.com/repos/helix-collective/camus/issues/27"},"comments":{"href":"https://api.github.com/repos/helix-collective/camus/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/helix-collective/camus/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/helix-collective/camus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helix-collective/camus/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/helix-collective/camus/statuses/5477fc27cfaa172429f733ed12477eb912fc76fa"}}}}