{"action":"opened","number":342,"pull_request":{"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/342","id":102191097,"html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/342","diff_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/342.diff","patch_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/342.patch","issue_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/342","number":342,"state":"open","locked":false,"title":"Delete onboard file on purge/remove if it exists","user":{"login":"sugr4","id":12738984,"avatar_url":"https://avatars.githubusercontent.com/u/12738984?v=3","gravatar_id":"","url":"https://api.github.com/users/sugr4","html_url":"https://github.com/sugr4","followers_url":"https://api.github.com/users/sugr4/followers","following_url":"https://api.github.com/users/sugr4/following{/other_user}","gists_url":"https://api.github.com/users/sugr4/gists{/gist_id}","starred_url":"https://api.github.com/users/sugr4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sugr4/subscriptions","organizations_url":"https://api.github.com/users/sugr4/orgs","repos_url":"https://api.github.com/users/sugr4/repos","events_url":"https://api.github.com/users/sugr4/events{/privacy}","received_events_url":"https://api.github.com/users/sugr4/received_events","type":"User","site_admin":false},"body":"@Microsoft/omsagent-devs \r\nWhen onboarding fails using invalid workspace id or key, the /etc/omsagent-onboard.conf file remains on the machine even after --purge. This is a fix for such cases.","created_at":"2017-01-19T02:33:09Z","updated_at":"2017-01-19T02:33:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/342/commits","review_comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/342/comments","review_comment_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/342/comments","statuses_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/4e4569ad7cd51714b09e93d2733e08b37d0d651b","head":{"label":"Microsoft:sujgu-purge-onboard-file","ref":"sujgu-purge-onboard-file","sha":"4e4569ad7cd51714b09e93d2733e08b37d0d651b","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43709699,"name":"OMS-Agent-for-Linux","full_name":"Microsoft/OMS-Agent-for-Linux","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","description":null,"fork":false,"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux","forks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/forks","keys_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/teams","hooks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/events","assignees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/tags","blobs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/languages","stargazers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscription","commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/merges","archive_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/downloads","issues_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/deployments","created_at":"2015-10-05T19:50:18Z","updated_at":"2017-01-18T03:23:10Z","pushed_at":"2017-01-19T02:30:16Z","git_url":"git://github.com/Microsoft/OMS-Agent-for-Linux.git","ssh_url":"git@github.com:Microsoft/OMS-Agent-for-Linux.git","clone_url":"https://github.com/Microsoft/OMS-Agent-for-Linux.git","svn_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","homepage":"http://www.microsoft.com/oms","size":24298,"stargazers_count":78,"watchers_count":78,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":21,"forks":36,"open_issues":21,"watchers":78,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"a48d467da00b90a586e4f962eb9cf6d535342274","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43709699,"name":"OMS-Agent-for-Linux","full_name":"Microsoft/OMS-Agent-for-Linux","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","description":null,"fork":false,"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux","forks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/forks","keys_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/teams","hooks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/events","assignees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/tags","blobs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/languages","stargazers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscription","commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/merges","archive_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/downloads","issues_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/deployments","created_at":"2015-10-05T19:50:18Z","updated_at":"2017-01-18T03:23:10Z","pushed_at":"2017-01-19T02:30:16Z","git_url":"git://github.com/Microsoft/OMS-Agent-for-Linux.git","ssh_url":"git@github.com:Microsoft/OMS-Agent-for-Linux.git","clone_url":"https://github.com/Microsoft/OMS-Agent-for-Linux.git","svn_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","homepage":"http://www.microsoft.com/oms","size":24298,"stargazers_count":78,"watchers_count":78,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":21,"forks":36,"open_issues":21,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/342"},"html":{"href":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/342"},"issue":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/342"},"comments":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/342/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/342/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/342/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/4e4569ad7cd51714b09e93d2733e08b37d0d651b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"sugr4"}}