{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/51","id":109263080,"html_url":"https://github.com/wisegrowth/wisebot-operator/pull/51","diff_url":"https://github.com/wisegrowth/wisebot-operator/pull/51.diff","patch_url":"https://github.com/wisegrowth/wisebot-operator/pull/51.patch","issue_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/51","number":51,"state":"closed","locked":false,"title":"Add mutex to guard process manager functions","user":{"login":"sebastianvera","id":1817522,"avatar_url":"https://avatars2.githubusercontent.com/u/1817522?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianvera","html_url":"https://github.com/sebastianvera","followers_url":"https://api.github.com/users/sebastianvera/followers","following_url":"https://api.github.com/users/sebastianvera/following{/other_user}","gists_url":"https://api.github.com/users/sebastianvera/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianvera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianvera/subscriptions","organizations_url":"https://api.github.com/users/sebastianvera/orgs","repos_url":"https://api.github.com/users/sebastianvera/repos","events_url":"https://api.github.com/users/sebastianvera/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianvera/received_events","type":"User","site_admin":false},"body":"Both, KickOff and Stop functions from the process manager can be executed one at a time, so I added a mutex to guard them.","created_at":"2017-03-06T13:56:23Z","updated_at":"2017-03-06T20:57:12Z","closed_at":"2017-03-06T20:57:12Z","merged_at":"2017-03-06T20:57:12Z","merge_commit_sha":"2034390c9f0256ec4252888fa292163453e8d403","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/51/commits","review_comments_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/51/comments","review_comment_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/51/comments","statuses_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/statuses/91892d0d80faaa6c14169034152fbb80e61fa740","head":{"label":"wisegrowth:sv-fix/mutex","ref":"sv-fix/mutex","sha":"91892d0d80faaa6c14169034152fbb80e61fa740","user":{"login":"wisegrowth","id":25491546,"avatar_url":"https://avatars0.githubusercontent.com/u/25491546?v=3","gravatar_id":"","url":"https://api.github.com/users/wisegrowth","html_url":"https://github.com/wisegrowth","followers_url":"https://api.github.com/users/wisegrowth/followers","following_url":"https://api.github.com/users/wisegrowth/following{/other_user}","gists_url":"https://api.github.com/users/wisegrowth/gists{/gist_id}","starred_url":"https://api.github.com/users/wisegrowth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisegrowth/subscriptions","organizations_url":"https://api.github.com/users/wisegrowth/orgs","repos_url":"https://api.github.com/users/wisegrowth/repos","events_url":"https://api.github.com/users/wisegrowth/events{/privacy}","received_events_url":"https://api.github.com/users/wisegrowth/received_events","type":"Organization","site_admin":false},"repo":{"id":80743181,"name":"wisebot-operator","full_name":"wisegrowth/wisebot-operator","owner":{"login":"wisegrowth","id":25491546,"avatar_url":"https://avatars0.githubusercontent.com/u/25491546?v=3","gravatar_id":"","url":"https://api.github.com/users/wisegrowth","html_url":"https://github.com/wisegrowth","followers_url":"https://api.github.com/users/wisegrowth/followers","following_url":"https://api.github.com/users/wisegrowth/following{/other_user}","gists_url":"https://api.github.com/users/wisegrowth/gists{/gist_id}","starred_url":"https://api.github.com/users/wisegrowth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisegrowth/subscriptions","organizations_url":"https://api.github.com/users/wisegrowth/orgs","repos_url":"https://api.github.com/users/wisegrowth/repos","events_url":"https://api.github.com/users/wisegrowth/events{/privacy}","received_events_url":"https://api.github.com/users/wisegrowth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wisegrowth/wisebot-operator","description":"Wisebot Process Supervisor","fork":false,"url":"https://api.github.com/repos/wisegrowth/wisebot-operator","forks_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/forks","keys_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/teams","hooks_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/hooks","issue_events_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/events{/number}","events_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/events","assignees_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/assignees{/user}","branches_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/branches{/branch}","tags_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/tags","blobs_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/languages","stargazers_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/stargazers","contributors_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/contributors","subscribers_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/subscribers","subscription_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/subscription","commits_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/contents/{+path}","compare_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/merges","archive_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/downloads","issues_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues{/number}","pulls_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/labels{/name}","releases_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/releases{/id}","deployments_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/deployments","created_at":"2017-02-02T16:19:04Z","updated_at":"2017-02-08T02:30:58Z","pushed_at":"2017-03-06T20:57:12Z","git_url":"git://github.com/wisegrowth/wisebot-operator.git","ssh_url":"git@github.com:wisegrowth/wisebot-operator.git","clone_url":"https://github.com/wisegrowth/wisebot-operator.git","svn_url":"https://github.com/wisegrowth/wisebot-operator","homepage":null,"size":191,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"wisegrowth:master","ref":"master","sha":"fddc96079773a5dcf6cff2682a1c6d30e939b7f8","user":{"login":"wisegrowth","id":25491546,"avatar_url":"https://avatars0.githubusercontent.com/u/25491546?v=3","gravatar_id":"","url":"https://api.github.com/users/wisegrowth","html_url":"https://github.com/wisegrowth","followers_url":"https://api.github.com/users/wisegrowth/followers","following_url":"https://api.github.com/users/wisegrowth/following{/other_user}","gists_url":"https://api.github.com/users/wisegrowth/gists{/gist_id}","starred_url":"https://api.github.com/users/wisegrowth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisegrowth/subscriptions","organizations_url":"https://api.github.com/users/wisegrowth/orgs","repos_url":"https://api.github.com/users/wisegrowth/repos","events_url":"https://api.github.com/users/wisegrowth/events{/privacy}","received_events_url":"https://api.github.com/users/wisegrowth/received_events","type":"Organization","site_admin":false},"repo":{"id":80743181,"name":"wisebot-operator","full_name":"wisegrowth/wisebot-operator","owner":{"login":"wisegrowth","id":25491546,"avatar_url":"https://avatars0.githubusercontent.com/u/25491546?v=3","gravatar_id":"","url":"https://api.github.com/users/wisegrowth","html_url":"https://github.com/wisegrowth","followers_url":"https://api.github.com/users/wisegrowth/followers","following_url":"https://api.github.com/users/wisegrowth/following{/other_user}","gists_url":"https://api.github.com/users/wisegrowth/gists{/gist_id}","starred_url":"https://api.github.com/users/wisegrowth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisegrowth/subscriptions","organizations_url":"https://api.github.com/users/wisegrowth/orgs","repos_url":"https://api.github.com/users/wisegrowth/repos","events_url":"https://api.github.com/users/wisegrowth/events{/privacy}","received_events_url":"https://api.github.com/users/wisegrowth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wisegrowth/wisebot-operator","description":"Wisebot Process Supervisor","fork":false,"url":"https://api.github.com/repos/wisegrowth/wisebot-operator","forks_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/forks","keys_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/teams","hooks_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/hooks","issue_events_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/events{/number}","events_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/events","assignees_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/assignees{/user}","branches_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/branches{/branch}","tags_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/tags","blobs_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/languages","stargazers_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/stargazers","contributors_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/contributors","subscribers_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/subscribers","subscription_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/subscription","commits_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/contents/{+path}","compare_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/merges","archive_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/downloads","issues_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues{/number}","pulls_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/labels{/name}","releases_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/releases{/id}","deployments_url":"https://api.github.com/repos/wisegrowth/wisebot-operator/deployments","created_at":"2017-02-02T16:19:04Z","updated_at":"2017-02-08T02:30:58Z","pushed_at":"2017-03-06T20:57:12Z","git_url":"git://github.com/wisegrowth/wisebot-operator.git","ssh_url":"git@github.com:wisegrowth/wisebot-operator.git","clone_url":"https://github.com/wisegrowth/wisebot-operator.git","svn_url":"https://github.com/wisegrowth/wisebot-operator","homepage":null,"size":191,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/51"},"html":{"href":"https://github.com/wisegrowth/wisebot-operator/pull/51"},"issue":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/51"},"comments":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/wisegrowth/wisebot-operator/statuses/91892d0d80faaa6c14169034152fbb80e61fa740"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sebastianvera","id":1817522,"avatar_url":"https://avatars2.githubusercontent.com/u/1817522?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianvera","html_url":"https://github.com/sebastianvera","followers_url":"https://api.github.com/users/sebastianvera/followers","following_url":"https://api.github.com/users/sebastianvera/following{/other_user}","gists_url":"https://api.github.com/users/sebastianvera/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianvera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianvera/subscriptions","organizations_url":"https://api.github.com/users/sebastianvera/orgs","repos_url":"https://api.github.com/users/sebastianvera/repos","events_url":"https://api.github.com/users/sebastianvera/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianvera/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":10,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"sebastianvera"}}