{"action":"created","comment":{"url":"https://api.github.com/repos/storj/storj/pulls/comments/225628546","pull_request_review_id":165270487,"id":225628546,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTYyODU0Ng==","diff_hunk":"@@ -69,6 +72,19 @@ func init() {\n \tcfgstruct.Bind(runCmd.Flags(), &runCfg, cfgstruct.ConfDir(defaultConfDir))\n }\n \n+func collectErrors(errch chan error, d time.Duration) error {\n+\terrs := []error{<-errch}\n+\n+\tfor {\n+\t\tselect {\n+\t\tcase err := <-errch:\n+\t\t\terrs = append(errs, err)\n+\t\tcase <-time.After(d):","path":"cmd/captplanet/run.go","position":35,"original_position":35,"commit_id":"27b321bd22c2c5ad73af18d8df6f7002b6be4b5c","original_commit_id":"27b321bd22c2c5ad73af18d8df6f7002b6be4b5c","user":{"login":"dylanlott","id":5915948,"node_id":"MDQ6VXNlcjU5MTU5NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5915948?v=4","gravatar_id":"","url":"https://api.github.com/users/dylanlott","html_url":"https://github.com/dylanlott","followers_url":"https://api.github.com/users/dylanlott/followers","following_url":"https://api.github.com/users/dylanlott/following{/other_user}","gists_url":"https://api.github.com/users/dylanlott/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanlott/subscriptions","organizations_url":"https://api.github.com/users/dylanlott/orgs","repos_url":"https://api.github.com/users/dylanlott/repos","events_url":"https://api.github.com/users/dylanlott/events{/privacy}","received_events_url":"https://api.github.com/users/dylanlott/received_events","type":"User","site_admin":false},"body":"@egonelbre It can't return errs, since errs is a slice of errors here and it has to return a single error, but otherwise this works perfect. I'll push this up with the other changes. ","created_at":"2018-10-16T17:08:34Z","updated_at":"2018-10-16T17:08:34Z","html_url":"https://github.com/storj/storj/pull/478#discussion_r225628546","pull_request_url":"https://api.github.com/repos/storj/storj/pulls/478","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/comments/225628546"},"html":{"href":"https://github.com/storj/storj/pull/478#discussion_r225628546"},"pull_request":{"href":"https://api.github.com/repos/storj/storj/pulls/478"}},"in_reply_to_id":225403284},"pull_request":{"url":"https://api.github.com/repos/storj/storj/pulls/478","id":223051461,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDUxNDYx","html_url":"https://github.com/storj/storj/pull/478","diff_url":"https://github.com/storj/storj/pull/478.diff","patch_url":"https://github.com/storj/storj/pull/478.patch","issue_url":"https://api.github.com/repos/storj/storj/issues/478","number":478,"state":"open","locked":false,"title":"return multiple errors when captplanet fails","user":{"login":"dylanlott","id":5915948,"node_id":"MDQ6VXNlcjU5MTU5NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5915948?v=4","gravatar_id":"","url":"https://api.github.com/users/dylanlott","html_url":"https://github.com/dylanlott","followers_url":"https://api.github.com/users/dylanlott/followers","following_url":"https://api.github.com/users/dylanlott/following{/other_user}","gists_url":"https://api.github.com/users/dylanlott/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanlott/subscriptions","organizations_url":"https://api.github.com/users/dylanlott/orgs","repos_url":"https://api.github.com/users/dylanlott/repos","events_url":"https://api.github.com/users/dylanlott/events{/privacy}","received_events_url":"https://api.github.com/users/dylanlott/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-15T21:38:58Z","updated_at":"2018-10-16T17:08:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d479b6a7996e9a4c0ada1aa32284e5903d11a64","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1077042095,"node_id":"MDU6TGFiZWwxMDc3MDQyMDk1","url":"https://api.github.com/repos/storj/storj/labels/Code%20Review%20In-Progress","name":"Code Review In-Progress","color":"f4e97f","default":false},{"id":982933521,"node_id":"MDU6TGFiZWw5ODI5MzM1MjE=","url":"https://api.github.com/repos/storj/storj/labels/cla-signed","name":"cla-signed","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/storj/storj/pulls/478/commits","review_comments_url":"https://api.github.com/repos/storj/storj/pulls/478/comments","review_comment_url":"https://api.github.com/repos/storj/storj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/storj/storj/issues/478/comments","statuses_url":"https://api.github.com/repos/storj/storj/statuses/27b321bd22c2c5ad73af18d8df6f7002b6be4b5c","head":{"label":"dylanlott:dylan/combine-errors","ref":"dylan/combine-errors","sha":"27b321bd22c2c5ad73af18d8df6f7002b6be4b5c","user":{"login":"dylanlott","id":5915948,"node_id":"MDQ6VXNlcjU5MTU5NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5915948?v=4","gravatar_id":"","url":"https://api.github.com/users/dylanlott","html_url":"https://github.com/dylanlott","followers_url":"https://api.github.com/users/dylanlott/followers","following_url":"https://api.github.com/users/dylanlott/following{/other_user}","gists_url":"https://api.github.com/users/dylanlott/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanlott/subscriptions","organizations_url":"https://api.github.com/users/dylanlott/orgs","repos_url":"https://api.github.com/users/dylanlott/repos","events_url":"https://api.github.com/users/dylanlott/events{/privacy}","received_events_url":"https://api.github.com/users/dylanlott/received_events","type":"User","site_admin":false},"repo":{"id":128424664,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg0MjQ2NjQ=","name":"storj","full_name":"dylanlott/storj","private":false,"owner":{"login":"dylanlott","id":5915948,"node_id":"MDQ6VXNlcjU5MTU5NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5915948?v=4","gravatar_id":"","url":"https://api.github.com/users/dylanlott","html_url":"https://github.com/dylanlott","followers_url":"https://api.github.com/users/dylanlott/followers","following_url":"https://api.github.com/users/dylanlott/following{/other_user}","gists_url":"https://api.github.com/users/dylanlott/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanlott/subscriptions","organizations_url":"https://api.github.com/users/dylanlott/orgs","repos_url":"https://api.github.com/users/dylanlott/repos","events_url":"https://api.github.com/users/dylanlott/events{/privacy}","received_events_url":"https://api.github.com/users/dylanlott/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dylanlott/storj","description":null,"fork":true,"url":"https://api.github.com/repos/dylanlott/storj","forks_url":"https://api.github.com/repos/dylanlott/storj/forks","keys_url":"https://api.github.com/repos/dylanlott/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dylanlott/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dylanlott/storj/teams","hooks_url":"https://api.github.com/repos/dylanlott/storj/hooks","issue_events_url":"https://api.github.com/repos/dylanlott/storj/issues/events{/number}","events_url":"https://api.github.com/repos/dylanlott/storj/events","assignees_url":"https://api.github.com/repos/dylanlott/storj/assignees{/user}","branches_url":"https://api.github.com/repos/dylanlott/storj/branches{/branch}","tags_url":"https://api.github.com/repos/dylanlott/storj/tags","blobs_url":"https://api.github.com/repos/dylanlott/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dylanlott/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dylanlott/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/dylanlott/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dylanlott/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/dylanlott/storj/languages","stargazers_url":"https://api.github.com/repos/dylanlott/storj/stargazers","contributors_url":"https://api.github.com/repos/dylanlott/storj/contributors","subscribers_url":"https://api.github.com/repos/dylanlott/storj/subscribers","subscription_url":"https://api.github.com/repos/dylanlott/storj/subscription","commits_url":"https://api.github.com/repos/dylanlott/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/dylanlott/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/dylanlott/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/dylanlott/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/dylanlott/storj/contents/{+path}","compare_url":"https://api.github.com/repos/dylanlott/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dylanlott/storj/merges","archive_url":"https://api.github.com/repos/dylanlott/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dylanlott/storj/downloads","issues_url":"https://api.github.com/repos/dylanlott/storj/issues{/number}","pulls_url":"https://api.github.com/repos/dylanlott/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/dylanlott/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/dylanlott/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dylanlott/storj/labels{/name}","releases_url":"https://api.github.com/repos/dylanlott/storj/releases{/id}","deployments_url":"https://api.github.com/repos/dylanlott/storj/deployments","created_at":"2018-04-06T17:23:58Z","updated_at":"2018-04-06T17:24:00Z","pushed_at":"2018-10-15T23:24:29Z","git_url":"git://github.com/dylanlott/storj.git","ssh_url":"git@github.com:dylanlott/storj.git","clone_url":"https://github.com/dylanlott/storj.git","svn_url":"https://github.com/dylanlott/storj","homepage":null,"size":60390,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"wip"}},"base":{"label":"storj:master","ref":"master","sha":"2b2e0996b0d20f0e0a432a09c1972e272e939445","user":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"repo":{"id":128089774,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgwODk3NzQ=","name":"storj","full_name":"storj/storj","private":false,"owner":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/storj/storj","description":"Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.","fork":false,"url":"https://api.github.com/repos/storj/storj","forks_url":"https://api.github.com/repos/storj/storj/forks","keys_url":"https://api.github.com/repos/storj/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/storj/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/storj/storj/teams","hooks_url":"https://api.github.com/repos/storj/storj/hooks","issue_events_url":"https://api.github.com/repos/storj/storj/issues/events{/number}","events_url":"https://api.github.com/repos/storj/storj/events","assignees_url":"https://api.github.com/repos/storj/storj/assignees{/user}","branches_url":"https://api.github.com/repos/storj/storj/branches{/branch}","tags_url":"https://api.github.com/repos/storj/storj/tags","blobs_url":"https://api.github.com/repos/storj/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/storj/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/storj/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/storj/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/storj/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/storj/storj/languages","stargazers_url":"https://api.github.com/repos/storj/storj/stargazers","contributors_url":"https://api.github.com/repos/storj/storj/contributors","subscribers_url":"https://api.github.com/repos/storj/storj/subscribers","subscription_url":"https://api.github.com/repos/storj/storj/subscription","commits_url":"https://api.github.com/repos/storj/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/storj/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/storj/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/storj/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/storj/storj/contents/{+path}","compare_url":"https://api.github.com/repos/storj/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/storj/storj/merges","archive_url":"https://api.github.com/repos/storj/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/storj/storj/downloads","issues_url":"https://api.github.com/repos/storj/storj/issues{/number}","pulls_url":"https://api.github.com/repos/storj/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/storj/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/storj/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/storj/storj/labels{/name}","releases_url":"https://api.github.com/repos/storj/storj/releases{/id}","deployments_url":"https://api.github.com/repos/storj/storj/deployments","created_at":"2018-04-04T16:27:18Z","updated_at":"2018-10-16T17:02:04Z","pushed_at":"2018-10-16T17:02:36Z","git_url":"git://github.com/storj/storj.git","ssh_url":"git@github.com:storj/storj.git","clone_url":"https://github.com/storj/storj.git","svn_url":"https://github.com/storj/storj","homepage":"https://storj.io","size":72913,"stargazers_count":247,"watchers_count":247,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":52,"open_issues":13,"watchers":247,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/478"},"html":{"href":"https://github.com/storj/storj/pull/478"},"issue":{"href":"https://api.github.com/repos/storj/storj/issues/478"},"comments":{"href":"https://api.github.com/repos/storj/storj/issues/478/comments"},"review_comments":{"href":"https://api.github.com/repos/storj/storj/pulls/478/comments"},"review_comment":{"href":"https://api.github.com/repos/storj/storj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/storj/storj/pulls/478/commits"},"statuses":{"href":"https://api.github.com/repos/storj/storj/statuses/27b321bd22c2c5ad73af18d8df6f7002b6be4b5c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dylanlott"}}