{"action":"created","comment":{"url":"https://api.github.com/repos/rancher/rke-tools/pulls/comments/186581184","pull_request_review_id":118188147,"id":186581184,"diff_hunk":"@@ -0,0 +1,251 @@\n+package main\n+\n+import (\n+\t\"fmt\"\n+\t\"io/ioutil\"\n+\t\"os\"\n+\t\"os/exec\"\n+\t\"strings\"\n+\t\"time\"\n+\n+\tlog \"github.com/Sirupsen/logrus\"","path":"main.go","position":11,"original_position":11,"commit_id":"04415ff3e08e957c3130656a35c6fccf17fffca8","original_commit_id":"c5d107f581f4024f8d8b7892829dcaa7edfe15c7","user":{"login":"alena1108","id":1562176,"avatar_url":"https://avatars0.githubusercontent.com/u/1562176?v=4","gravatar_id":"","url":"https://api.github.com/users/alena1108","html_url":"https://github.com/alena1108","followers_url":"https://api.github.com/users/alena1108/followers","following_url":"https://api.github.com/users/alena1108/following{/other_user}","gists_url":"https://api.github.com/users/alena1108/gists{/gist_id}","starred_url":"https://api.github.com/users/alena1108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena1108/subscriptions","organizations_url":"https://api.github.com/users/alena1108/orgs","repos_url":"https://api.github.com/users/alena1108/repos","events_url":"https://api.github.com/users/alena1108/events{/privacy}","received_events_url":"https://api.github.com/users/alena1108/received_events","type":"User","site_admin":false},"body":"should use the one with lowercase s :) ","created_at":"2018-05-07T23:35:17Z","updated_at":"2018-05-07T23:35:17Z","html_url":"https://github.com/rancher/rke-tools/pull/6#discussion_r186581184","pull_request_url":"https://api.github.com/repos/rancher/rke-tools/pulls/6","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/rancher/rke-tools/pulls/comments/186581184"},"html":{"href":"https://github.com/rancher/rke-tools/pull/6#discussion_r186581184"},"pull_request":{"href":"https://api.github.com/repos/rancher/rke-tools/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/rancher/rke-tools/pulls/6","id":184194563,"html_url":"https://github.com/rancher/rke-tools/pull/6","diff_url":"https://github.com/rancher/rke-tools/pull/6.diff","patch_url":"https://github.com/rancher/rke-tools/pull/6.patch","issue_url":"https://api.github.com/repos/rancher/rke-tools/issues/6","number":6,"state":"open","locked":false,"title":"rke tools etcd backup","user":{"login":"galal-hussein","id":3309968,"avatar_url":"https://avatars1.githubusercontent.com/u/3309968?v=4","gravatar_id":"","url":"https://api.github.com/users/galal-hussein","html_url":"https://github.com/galal-hussein","followers_url":"https://api.github.com/users/galal-hussein/followers","following_url":"https://api.github.com/users/galal-hussein/following{/other_user}","gists_url":"https://api.github.com/users/galal-hussein/gists{/gist_id}","starred_url":"https://api.github.com/users/galal-hussein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galal-hussein/subscriptions","organizations_url":"https://api.github.com/users/galal-hussein/orgs","repos_url":"https://api.github.com/users/galal-hussein/repos","events_url":"https://api.github.com/users/galal-hussein/events{/privacy}","received_events_url":"https://api.github.com/users/galal-hussein/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-26T00:06:27Z","updated_at":"2018-05-07T23:35:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca19c186d2669025818d60cc4a25514ada09088d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rancher/rke-tools/pulls/6/commits","review_comments_url":"https://api.github.com/repos/rancher/rke-tools/pulls/6/comments","review_comment_url":"https://api.github.com/repos/rancher/rke-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rancher/rke-tools/issues/6/comments","statuses_url":"https://api.github.com/repos/rancher/rke-tools/statuses/04415ff3e08e957c3130656a35c6fccf17fffca8","head":{"label":"galal-hussein:etcd_backup","ref":"etcd_backup","sha":"04415ff3e08e957c3130656a35c6fccf17fffca8","user":{"login":"galal-hussein","id":3309968,"avatar_url":"https://avatars1.githubusercontent.com/u/3309968?v=4","gravatar_id":"","url":"https://api.github.com/users/galal-hussein","html_url":"https://github.com/galal-hussein","followers_url":"https://api.github.com/users/galal-hussein/followers","following_url":"https://api.github.com/users/galal-hussein/following{/other_user}","gists_url":"https://api.github.com/users/galal-hussein/gists{/gist_id}","starred_url":"https://api.github.com/users/galal-hussein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galal-hussein/subscriptions","organizations_url":"https://api.github.com/users/galal-hussein/orgs","repos_url":"https://api.github.com/users/galal-hussein/repos","events_url":"https://api.github.com/users/galal-hussein/events{/privacy}","received_events_url":"https://api.github.com/users/galal-hussein/received_events","type":"User","site_admin":false},"repo":{"id":130756450,"name":"rke-tools","full_name":"galal-hussein/rke-tools","owner":{"login":"galal-hussein","id":3309968,"avatar_url":"https://avatars1.githubusercontent.com/u/3309968?v=4","gravatar_id":"","url":"https://api.github.com/users/galal-hussein","html_url":"https://github.com/galal-hussein","followers_url":"https://api.github.com/users/galal-hussein/followers","following_url":"https://api.github.com/users/galal-hussein/following{/other_user}","gists_url":"https://api.github.com/users/galal-hussein/gists{/gist_id}","starred_url":"https://api.github.com/users/galal-hussein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galal-hussein/subscriptions","organizations_url":"https://api.github.com/users/galal-hussein/orgs","repos_url":"https://api.github.com/users/galal-hussein/repos","events_url":"https://api.github.com/users/galal-hussein/events{/privacy}","received_events_url":"https://api.github.com/users/galal-hussein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/galal-hussein/rke-tools","description":"Tools container for supporting functions in RKE","fork":true,"url":"https://api.github.com/repos/galal-hussein/rke-tools","forks_url":"https://api.github.com/repos/galal-hussein/rke-tools/forks","keys_url":"https://api.github.com/repos/galal-hussein/rke-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galal-hussein/rke-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galal-hussein/rke-tools/teams","hooks_url":"https://api.github.com/repos/galal-hussein/rke-tools/hooks","issue_events_url":"https://api.github.com/repos/galal-hussein/rke-tools/issues/events{/number}","events_url":"https://api.github.com/repos/galal-hussein/rke-tools/events","assignees_url":"https://api.github.com/repos/galal-hussein/rke-tools/assignees{/user}","branches_url":"https://api.github.com/repos/galal-hussein/rke-tools/branches{/branch}","tags_url":"https://api.github.com/repos/galal-hussein/rke-tools/tags","blobs_url":"https://api.github.com/repos/galal-hussein/rke-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galal-hussein/rke-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galal-hussein/rke-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/galal-hussein/rke-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galal-hussein/rke-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/galal-hussein/rke-tools/languages","stargazers_url":"https://api.github.com/repos/galal-hussein/rke-tools/stargazers","contributors_url":"https://api.github.com/repos/galal-hussein/rke-tools/contributors","subscribers_url":"https://api.github.com/repos/galal-hussein/rke-tools/subscribers","subscription_url":"https://api.github.com/repos/galal-hussein/rke-tools/subscription","commits_url":"https://api.github.com/repos/galal-hussein/rke-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/galal-hussein/rke-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/galal-hussein/rke-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/galal-hussein/rke-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/galal-hussein/rke-tools/contents/{+path}","compare_url":"https://api.github.com/repos/galal-hussein/rke-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galal-hussein/rke-tools/merges","archive_url":"https://api.github.com/repos/galal-hussein/rke-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galal-hussein/rke-tools/downloads","issues_url":"https://api.github.com/repos/galal-hussein/rke-tools/issues{/number}","pulls_url":"https://api.github.com/repos/galal-hussein/rke-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/galal-hussein/rke-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/galal-hussein/rke-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galal-hussein/rke-tools/labels{/name}","releases_url":"https://api.github.com/repos/galal-hussein/rke-tools/releases{/id}","deployments_url":"https://api.github.com/repos/galal-hussein/rke-tools/deployments","created_at":"2018-04-23T21:02:44Z","updated_at":"2018-04-23T21:02:46Z","pushed_at":"2018-05-03T23:27:22Z","git_url":"git://github.com/galal-hussein/rke-tools.git","ssh_url":"git@github.com:galal-hussein/rke-tools.git","clone_url":"https://github.com/galal-hussein/rke-tools.git","svn_url":"https://github.com/galal-hussein/rke-tools","homepage":null,"size":67,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rancher:master","ref":"master","sha":"96e137a17fb4b6bbb19a43398960b9c06cea7168","user":{"login":"rancher","id":9343010,"avatar_url":"https://avatars3.githubusercontent.com/u/9343010?v=4","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"repo":{"id":130237777,"name":"rke-tools","full_name":"rancher/rke-tools","owner":{"login":"rancher","id":9343010,"avatar_url":"https://avatars3.githubusercontent.com/u/9343010?v=4","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rancher/rke-tools","description":"Tools container for supporting functions in RKE","fork":false,"url":"https://api.github.com/repos/rancher/rke-tools","forks_url":"https://api.github.com/repos/rancher/rke-tools/forks","keys_url":"https://api.github.com/repos/rancher/rke-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rancher/rke-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rancher/rke-tools/teams","hooks_url":"https://api.github.com/repos/rancher/rke-tools/hooks","issue_events_url":"https://api.github.com/repos/rancher/rke-tools/issues/events{/number}","events_url":"https://api.github.com/repos/rancher/rke-tools/events","assignees_url":"https://api.github.com/repos/rancher/rke-tools/assignees{/user}","branches_url":"https://api.github.com/repos/rancher/rke-tools/branches{/branch}","tags_url":"https://api.github.com/repos/rancher/rke-tools/tags","blobs_url":"https://api.github.com/repos/rancher/rke-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rancher/rke-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rancher/rke-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/rancher/rke-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rancher/rke-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/rancher/rke-tools/languages","stargazers_url":"https://api.github.com/repos/rancher/rke-tools/stargazers","contributors_url":"https://api.github.com/repos/rancher/rke-tools/contributors","subscribers_url":"https://api.github.com/repos/rancher/rke-tools/subscribers","subscription_url":"https://api.github.com/repos/rancher/rke-tools/subscription","commits_url":"https://api.github.com/repos/rancher/rke-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/rancher/rke-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/rancher/rke-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/rancher/rke-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/rancher/rke-tools/contents/{+path}","compare_url":"https://api.github.com/repos/rancher/rke-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rancher/rke-tools/merges","archive_url":"https://api.github.com/repos/rancher/rke-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rancher/rke-tools/downloads","issues_url":"https://api.github.com/repos/rancher/rke-tools/issues{/number}","pulls_url":"https://api.github.com/repos/rancher/rke-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/rancher/rke-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/rancher/rke-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rancher/rke-tools/labels{/name}","releases_url":"https://api.github.com/repos/rancher/rke-tools/releases{/id}","deployments_url":"https://api.github.com/repos/rancher/rke-tools/deployments","created_at":"2018-04-19T15:39:30Z","updated_at":"2018-05-02T00:12:00Z","pushed_at":"2018-05-03T23:28:18Z","git_url":"git://github.com/rancher/rke-tools.git","ssh_url":"git@github.com:rancher/rke-tools.git","clone_url":"https://github.com/rancher/rke-tools.git","svn_url":"https://github.com/rancher/rke-tools","homepage":null,"size":12,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":8,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rancher/rke-tools/pulls/6"},"html":{"href":"https://github.com/rancher/rke-tools/pull/6"},"issue":{"href":"https://api.github.com/repos/rancher/rke-tools/issues/6"},"comments":{"href":"https://api.github.com/repos/rancher/rke-tools/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/rancher/rke-tools/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/rancher/rke-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rancher/rke-tools/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/rancher/rke-tools/statuses/04415ff3e08e957c3130656a35c6fccf17fffca8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"alena1108"}}