{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22279","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22279/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22279/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22279/events","html_url":"https://github.com/docker/docker/pull/22279","id":150657675,"number":22279,"title":"Seperate wait channels for Running&Stopped State","user":{"login":"WeiZhang555","id":1203611,"avatar_url":"https://avatars.githubusercontent.com/u/1203611?v=3","gravatar_id":"","url":"https://api.github.com/users/WeiZhang555","html_url":"https://github.com/WeiZhang555","followers_url":"https://api.github.com/users/WeiZhang555/followers","following_url":"https://api.github.com/users/WeiZhang555/following{/other_user}","gists_url":"https://api.github.com/users/WeiZhang555/gists{/gist_id}","starred_url":"https://api.github.com/users/WeiZhang555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeiZhang555/subscriptions","organizations_url":"https://api.github.com/users/WeiZhang555/orgs","repos_url":"https://api.github.com/users/WeiZhang555/repos","events_url":"https://api.github.com/users/WeiZhang555/events{/privacy}","received_events_url":"https://api.github.com/users/WeiZhang555/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-24T12:37:15Z","updated_at":"2016-04-26T03:41:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/22279","html_url":"https://github.com/docker/docker/pull/22279","diff_url":"https://github.com/docker/docker/pull/22279.diff","patch_url":"https://github.com/docker/docker/pull/22279.patch"},"body":"Currently SetRunning and SetStopped share same wait channel, this can\r\nlead to a wait operation for running state getting wrong state stopped.\r\n\r\nThis commit will create two separate channels for Running&Stopped states.\r\n\r\nSigned-off-by: Zhang Wei <zhangwei555@huawei.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/214598050","html_url":"https://github.com/docker/docker/pull/22279#issuecomment-214598050","issue_url":"https://api.github.com/repos/docker/docker/issues/22279","id":214598050,"user":{"login":"WeiZhang555","id":1203611,"avatar_url":"https://avatars.githubusercontent.com/u/1203611?v=3","gravatar_id":"","url":"https://api.github.com/users/WeiZhang555","html_url":"https://github.com/WeiZhang555","followers_url":"https://api.github.com/users/WeiZhang555/followers","following_url":"https://api.github.com/users/WeiZhang555/following{/other_user}","gists_url":"https://api.github.com/users/WeiZhang555/gists{/gist_id}","starred_url":"https://api.github.com/users/WeiZhang555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeiZhang555/subscriptions","organizations_url":"https://api.github.com/users/WeiZhang555/orgs","repos_url":"https://api.github.com/users/WeiZhang555/repos","events_url":"https://api.github.com/users/WeiZhang555/events{/privacy}","received_events_url":"https://api.github.com/users/WeiZhang555/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T03:41:26Z","updated_at":"2016-04-26T03:41:26Z","body":"@LK4D4 Yep, good idea. It's better to remove waitRunning completely rather than separate wait channel. :+1: "}}