{"action":"created","comment":{"url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/comments/38476172","id":38476172,"diff_hunk":"@@ -41,5 +42,23 @@ func RunInfo(ctx CommandContext, args InfoArgs) error {\n \tfmt.Fprintf(ctx.Stdout, \"  Snapshots: %d\\n\", ctx.API.Cache.GetNbSnapshots())\n \tfmt.Fprintf(ctx.Stdout, \"  Volumes: %d\\n\", ctx.API.Cache.GetNbVolumes())\n \tfmt.Fprintf(ctx.Stdout, \"  Bootscripts: %d\\n\", ctx.API.Cache.GetNbBootscripts())\n+\tuser, err := ctx.API.GetUser()\n+\tif err != nil {\n+\t\tfmt.Println(\"Unable to get your SSH Keys\")","path":"pkg/commands/info.go","position":14,"original_position":14,"commit_id":"4693302998d8dc6ae015b1a1154769c9ea54363d","original_commit_id":"4693302998d8dc6ae015b1a1154769c9ea54363d","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"body":"Use `return fmt.Errorf` or `return err`","created_at":"2015-09-01T21:44:26Z","updated_at":"2015-09-01T21:44:26Z","html_url":"https://github.com/scaleway/scaleway-cli/pull/148#discussion_r38476172","pull_request_url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148","_links":{"self":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/comments/38476172"},"html":{"href":"https://github.com/scaleway/scaleway-cli/pull/148#discussion_r38476172"},"pull_request":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148","id":43883951,"html_url":"https://github.com/scaleway/scaleway-cli/pull/148","diff_url":"https://github.com/scaleway/scaleway-cli/pull/148.diff","patch_url":"https://github.com/scaleway/scaleway-cli/pull/148.patch","issue_url":"https://api.github.com/repos/scaleway/scaleway-cli/issues/148","number":148,"state":"open","locked":false,"title":"fix 130 add infos","user":{"login":"QuentinPerez","id":3081204,"avatar_url":"https://avatars.githubusercontent.com/u/3081204?v=3","gravatar_id":"","url":"https://api.github.com/users/QuentinPerez","html_url":"https://github.com/QuentinPerez","followers_url":"https://api.github.com/users/QuentinPerez/followers","following_url":"https://api.github.com/users/QuentinPerez/following{/other_user}","gists_url":"https://api.github.com/users/QuentinPerez/gists{/gist_id}","starred_url":"https://api.github.com/users/QuentinPerez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuentinPerez/subscriptions","organizations_url":"https://api.github.com/users/QuentinPerez/orgs","repos_url":"https://api.github.com/users/QuentinPerez/repos","events_url":"https://api.github.com/users/QuentinPerez/events{/privacy}","received_events_url":"https://api.github.com/users/QuentinPerez/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-01T14:43:48Z","updated_at":"2015-09-01T21:44:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45eef7ec4ba7519b98acd1a67a4ac7d136dc17fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148/commits","review_comments_url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148/comments","review_comment_url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scaleway/scaleway-cli/issues/148/comments","statuses_url":"https://api.github.com/repos/scaleway/scaleway-cli/statuses/4693302998d8dc6ae015b1a1154769c9ea54363d","head":{"label":"QuentinPerez:fix_130","ref":"fix_130","sha":"4693302998d8dc6ae015b1a1154769c9ea54363d","user":{"login":"QuentinPerez","id":3081204,"avatar_url":"https://avatars.githubusercontent.com/u/3081204?v=3","gravatar_id":"","url":"https://api.github.com/users/QuentinPerez","html_url":"https://github.com/QuentinPerez","followers_url":"https://api.github.com/users/QuentinPerez/followers","following_url":"https://api.github.com/users/QuentinPerez/following{/other_user}","gists_url":"https://api.github.com/users/QuentinPerez/gists{/gist_id}","starred_url":"https://api.github.com/users/QuentinPerez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuentinPerez/subscriptions","organizations_url":"https://api.github.com/users/QuentinPerez/orgs","repos_url":"https://api.github.com/users/QuentinPerez/repos","events_url":"https://api.github.com/users/QuentinPerez/events{/privacy}","received_events_url":"https://api.github.com/users/QuentinPerez/received_events","type":"User","site_admin":false},"repo":{"id":41426551,"name":"scaleway-cli","full_name":"QuentinPerez/scaleway-cli","owner":{"login":"QuentinPerez","id":3081204,"avatar_url":"https://avatars.githubusercontent.com/u/3081204?v=3","gravatar_id":"","url":"https://api.github.com/users/QuentinPerez","html_url":"https://github.com/QuentinPerez","followers_url":"https://api.github.com/users/QuentinPerez/followers","following_url":"https://api.github.com/users/QuentinPerez/following{/other_user}","gists_url":"https://api.github.com/users/QuentinPerez/gists{/gist_id}","starred_url":"https://api.github.com/users/QuentinPerez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuentinPerez/subscriptions","organizations_url":"https://api.github.com/users/QuentinPerez/orgs","repos_url":"https://api.github.com/users/QuentinPerez/repos","events_url":"https://api.github.com/users/QuentinPerez/events{/privacy}","received_events_url":"https://api.github.com/users/QuentinPerez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/QuentinPerez/scaleway-cli","description":":computer: Manage BareMetal Servers from Command Line (as easily as with Docker)","fork":true,"url":"https://api.github.com/repos/QuentinPerez/scaleway-cli","forks_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/forks","keys_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/teams","hooks_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/hooks","issue_events_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/issues/events{/number}","events_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/events","assignees_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/assignees{/user}","branches_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/branches{/branch}","tags_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/tags","blobs_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/languages","stargazers_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/stargazers","contributors_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/contributors","subscribers_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/subscribers","subscription_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/subscription","commits_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/contents/{+path}","compare_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/merges","archive_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/downloads","issues_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/issues{/number}","pulls_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/labels{/name}","releases_url":"https://api.github.com/repos/QuentinPerez/scaleway-cli/releases{/id}","created_at":"2015-08-26T13:16:35Z","updated_at":"2015-08-26T13:16:36Z","pushed_at":"2015-09-01T14:43:28Z","git_url":"git://github.com/QuentinPerez/scaleway-cli.git","ssh_url":"git@github.com:QuentinPerez/scaleway-cli.git","clone_url":"https://github.com/QuentinPerez/scaleway-cli.git","svn_url":"https://github.com/QuentinPerez/scaleway-cli","homepage":"https://blog.scaleway.com/2015/05/20/manage-baremetal-servers-with-scaleway-cli/","size":1960,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"scaleway:master","ref":"master","sha":"de3083dcdd8f55cc69159be9d384cd5993f781cf","user":{"login":"scaleway","id":5185491,"avatar_url":"https://avatars.githubusercontent.com/u/5185491?v=3","gravatar_id":"","url":"https://api.github.com/users/scaleway","html_url":"https://github.com/scaleway","followers_url":"https://api.github.com/users/scaleway/followers","following_url":"https://api.github.com/users/scaleway/following{/other_user}","gists_url":"https://api.github.com/users/scaleway/gists{/gist_id}","starred_url":"https://api.github.com/users/scaleway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scaleway/subscriptions","organizations_url":"https://api.github.com/users/scaleway/orgs","repos_url":"https://api.github.com/users/scaleway/repos","events_url":"https://api.github.com/users/scaleway/events{/privacy}","received_events_url":"https://api.github.com/users/scaleway/received_events","type":"Organization","site_admin":false},"repo":{"id":32575663,"name":"scaleway-cli","full_name":"scaleway/scaleway-cli","owner":{"login":"scaleway","id":5185491,"avatar_url":"https://avatars.githubusercontent.com/u/5185491?v=3","gravatar_id":"","url":"https://api.github.com/users/scaleway","html_url":"https://github.com/scaleway","followers_url":"https://api.github.com/users/scaleway/followers","following_url":"https://api.github.com/users/scaleway/following{/other_user}","gists_url":"https://api.github.com/users/scaleway/gists{/gist_id}","starred_url":"https://api.github.com/users/scaleway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scaleway/subscriptions","organizations_url":"https://api.github.com/users/scaleway/orgs","repos_url":"https://api.github.com/users/scaleway/repos","events_url":"https://api.github.com/users/scaleway/events{/privacy}","received_events_url":"https://api.github.com/users/scaleway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scaleway/scaleway-cli","description":":computer: Manage BareMetal Servers from Command Line (as easily as with Docker)","fork":false,"url":"https://api.github.com/repos/scaleway/scaleway-cli","forks_url":"https://api.github.com/repos/scaleway/scaleway-cli/forks","keys_url":"https://api.github.com/repos/scaleway/scaleway-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scaleway/scaleway-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scaleway/scaleway-cli/teams","hooks_url":"https://api.github.com/repos/scaleway/scaleway-cli/hooks","issue_events_url":"https://api.github.com/repos/scaleway/scaleway-cli/issues/events{/number}","events_url":"https://api.github.com/repos/scaleway/scaleway-cli/events","assignees_url":"https://api.github.com/repos/scaleway/scaleway-cli/assignees{/user}","branches_url":"https://api.github.com/repos/scaleway/scaleway-cli/branches{/branch}","tags_url":"https://api.github.com/repos/scaleway/scaleway-cli/tags","blobs_url":"https://api.github.com/repos/scaleway/scaleway-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scaleway/scaleway-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scaleway/scaleway-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/scaleway/scaleway-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scaleway/scaleway-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/scaleway/scaleway-cli/languages","stargazers_url":"https://api.github.com/repos/scaleway/scaleway-cli/stargazers","contributors_url":"https://api.github.com/repos/scaleway/scaleway-cli/contributors","subscribers_url":"https://api.github.com/repos/scaleway/scaleway-cli/subscribers","subscription_url":"https://api.github.com/repos/scaleway/scaleway-cli/subscription","commits_url":"https://api.github.com/repos/scaleway/scaleway-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/scaleway/scaleway-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/scaleway/scaleway-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/scaleway/scaleway-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/scaleway/scaleway-cli/contents/{+path}","compare_url":"https://api.github.com/repos/scaleway/scaleway-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scaleway/scaleway-cli/merges","archive_url":"https://api.github.com/repos/scaleway/scaleway-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scaleway/scaleway-cli/downloads","issues_url":"https://api.github.com/repos/scaleway/scaleway-cli/issues{/number}","pulls_url":"https://api.github.com/repos/scaleway/scaleway-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/scaleway/scaleway-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/scaleway/scaleway-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scaleway/scaleway-cli/labels{/name}","releases_url":"https://api.github.com/repos/scaleway/scaleway-cli/releases{/id}","created_at":"2015-03-20T09:45:50Z","updated_at":"2015-08-27T09:01:14Z","pushed_at":"2015-09-01T21:27:11Z","git_url":"git://github.com/scaleway/scaleway-cli.git","ssh_url":"git@github.com:scaleway/scaleway-cli.git","clone_url":"https://github.com/scaleway/scaleway-cli.git","svn_url":"https://github.com/scaleway/scaleway-cli","homepage":"https://blog.scaleway.com/2015/05/20/manage-baremetal-servers-with-scaleway-cli/","size":3216,"stargazers_count":35,"watchers_count":35,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":22,"forks":6,"open_issues":22,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148"},"html":{"href":"https://github.com/scaleway/scaleway-cli/pull/148"},"issue":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/issues/148"},"comments":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/scaleway/scaleway-cli/statuses/4693302998d8dc6ae015b1a1154769c9ea54363d"}}}}