{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/11","id":42711566,"html_url":"https://github.com/Financial-Times/coco-fleet-deployer/pull/11","diff_url":"https://github.com/Financial-Times/coco-fleet-deployer/pull/11.diff","patch_url":"https://github.com/Financial-Times/coco-fleet-deployer/pull/11.patch","issue_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/11","number":11,"state":"open","locked":false,"title":"Check the DesiredState of the unit instead of Current","user":{"login":"Zapadlo","id":1801067,"avatar_url":"https://avatars.githubusercontent.com/u/1801067?v=3","gravatar_id":"","url":"https://api.github.com/users/Zapadlo","html_url":"https://github.com/Zapadlo","followers_url":"https://api.github.com/users/Zapadlo/followers","following_url":"https://api.github.com/users/Zapadlo/following{/other_user}","gists_url":"https://api.github.com/users/Zapadlo/gists{/gist_id}","starred_url":"https://api.github.com/users/Zapadlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zapadlo/subscriptions","organizations_url":"https://api.github.com/users/Zapadlo/orgs","repos_url":"https://api.github.com/users/Zapadlo/repos","events_url":"https://api.github.com/users/Zapadlo/events{/privacy}","received_events_url":"https://api.github.com/users/Zapadlo/received_events","type":"User","site_admin":false},"body":"Global services will forever show \"inactive\". Also, we don't really want\r\nto check the \"current\" state, deployer tells fleet that unit should be\r\n\"launched\", that changes the desiredState. If the unit isn't in the\r\n\"lunched\" state, fleet already knows this, there is no need to ping it\r\nagain","created_at":"2015-08-18T15:22:04Z","updated_at":"2015-08-18T15:22:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/11/comments","statuses_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/statuses/4e856b651c4cf25581e8e97a680b7c169215f8e5","head":{"label":"Financial-Times:desired-state-check","ref":"desired-state-check","sha":"4e856b651c4cf25581e8e97a680b7c169215f8e5","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":37120103,"name":"coco-fleet-deployer","full_name":"Financial-Times/coco-fleet-deployer","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/coco-fleet-deployer","description":"Deployer service for a fleet cluster","fork":false,"url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer","forks_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/forks","keys_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/teams","hooks_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/events","assignees_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/tags","blobs_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/subscription","commits_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/merges","archive_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/downloads","issues_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/releases{/id}","created_at":"2015-06-09T08:30:46Z","updated_at":"2015-06-09T08:31:06Z","pushed_at":"2015-08-18T15:21:03Z","git_url":"git://github.com/Financial-Times/coco-fleet-deployer.git","ssh_url":"git@github.com:Financial-Times/coco-fleet-deployer.git","clone_url":"https://github.com/Financial-Times/coco-fleet-deployer.git","svn_url":"https://github.com/Financial-Times/coco-fleet-deployer","homepage":null,"size":276,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"202d272fb4f41ab16b445655e2002dd845ec2807","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":37120103,"name":"coco-fleet-deployer","full_name":"Financial-Times/coco-fleet-deployer","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/coco-fleet-deployer","description":"Deployer service for a fleet cluster","fork":false,"url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer","forks_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/forks","keys_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/teams","hooks_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/events","assignees_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/tags","blobs_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/subscription","commits_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/merges","archive_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/downloads","issues_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/releases{/id}","created_at":"2015-06-09T08:30:46Z","updated_at":"2015-06-09T08:31:06Z","pushed_at":"2015-08-18T15:21:03Z","git_url":"git://github.com/Financial-Times/coco-fleet-deployer.git","ssh_url":"git@github.com:Financial-Times/coco-fleet-deployer.git","clone_url":"https://github.com/Financial-Times/coco-fleet-deployer.git","svn_url":"https://github.com/Financial-Times/coco-fleet-deployer","homepage":null,"size":276,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/11"},"html":{"href":"https://github.com/Financial-Times/coco-fleet-deployer/pull/11"},"issue":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/11"},"comments":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/coco-fleet-deployer/statuses/4e856b651c4cf25581e8e97a680b7c169215f8e5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}