{"action":"closed","issue":{"url":"https://api.github.com/repos/30x/enrober/issues/67","repository_url":"https://api.github.com/repos/30x/enrober","labels_url":"https://api.github.com/repos/30x/enrober/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/30x/enrober/issues/67/comments","events_url":"https://api.github.com/repos/30x/enrober/issues/67/events","html_url":"https://github.com/30x/enrober/issues/67","id":179360815,"number":67,"title":"patch deployment sets replicas to 0","user":{"login":"noahdietz","id":6644735,"avatar_url":"https://avatars.githubusercontent.com/u/6644735?v=3","gravatar_id":"","url":"https://api.github.com/users/noahdietz","html_url":"https://github.com/noahdietz","followers_url":"https://api.github.com/users/noahdietz/followers","following_url":"https://api.github.com/users/noahdietz/following{/other_user}","gists_url":"https://api.github.com/users/noahdietz/gists{/gist_id}","starred_url":"https://api.github.com/users/noahdietz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahdietz/subscriptions","organizations_url":"https://api.github.com/users/noahdietz/orgs","repos_url":"https://api.github.com/users/noahdietz/repos","events_url":"https://api.github.com/users/noahdietz/events{/privacy}","received_events_url":"https://api.github.com/users/noahdietz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/30x/enrober/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jbowen93","id":5825193,"avatar_url":"https://avatars.githubusercontent.com/u/5825193?v=3","gravatar_id":"","url":"https://api.github.com/users/jbowen93","html_url":"https://github.com/jbowen93","followers_url":"https://api.github.com/users/jbowen93/followers","following_url":"https://api.github.com/users/jbowen93/following{/other_user}","gists_url":"https://api.github.com/users/jbowen93/gists{/gist_id}","starred_url":"https://api.github.com/users/jbowen93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbowen93/subscriptions","organizations_url":"https://api.github.com/users/jbowen93/orgs","repos_url":"https://api.github.com/users/jbowen93/repos","events_url":"https://api.github.com/users/jbowen93/events{/privacy}","received_events_url":"https://api.github.com/users/jbowen93/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbowen93","id":5825193,"avatar_url":"https://avatars.githubusercontent.com/u/5825193?v=3","gravatar_id":"","url":"https://api.github.com/users/jbowen93","html_url":"https://github.com/jbowen93","followers_url":"https://api.github.com/users/jbowen93/followers","following_url":"https://api.github.com/users/jbowen93/following{/other_user}","gists_url":"https://api.github.com/users/jbowen93/gists{/gist_id}","starred_url":"https://api.github.com/users/jbowen93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbowen93/subscriptions","organizations_url":"https://api.github.com/users/jbowen93/orgs","repos_url":"https://api.github.com/users/jbowen93/repos","events_url":"https://api.github.com/users/jbowen93/events{/privacy}","received_events_url":"https://api.github.com/users/jbowen93/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/30x/enrober/milestones/5","html_url":"https://github.com/30x/enrober/milestones/Beta-3","labels_url":"https://api.github.com/repos/30x/enrober/milestones/5/labels","id":2022359,"number":5,"title":"Beta-3","description":"","creator":{"login":"whitlockjc","id":98899,"avatar_url":"https://avatars.githubusercontent.com/u/98899?v=3","gravatar_id":"","url":"https://api.github.com/users/whitlockjc","html_url":"https://github.com/whitlockjc","followers_url":"https://api.github.com/users/whitlockjc/followers","following_url":"https://api.github.com/users/whitlockjc/following{/other_user}","gists_url":"https://api.github.com/users/whitlockjc/gists{/gist_id}","starred_url":"https://api.github.com/users/whitlockjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitlockjc/subscriptions","organizations_url":"https://api.github.com/users/whitlockjc/orgs","repos_url":"https://api.github.com/users/whitlockjc/repos","events_url":"https://api.github.com/users/whitlockjc/events{/privacy}","received_events_url":"https://api.github.com/users/whitlockjc/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2016-09-22T15:39:41Z","updated_at":"2016-09-27T15:44:58Z","due_on":"2016-10-08T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-26T23:18:51Z","updated_at":"2016-09-27T15:44:58Z","closed_at":"2016-09-27T15:44:58Z","body":"It seems that if the `replicas` property is excluded from a deployment patch request, the resulting deployment object will have its `replicas` property set to 0, as this is the default for a missing property.\n\nhttps://github.com/30x/enrober/blob/master/pkg/server/server.go#L830"}}
{"actor":{"display_login":"jbowen93"}}