{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12607","labels_url":"https://api.github.com/repos/docker/docker/issues/12607/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12607/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12607/events","html_url":"https://github.com/docker/docker/issues/12607","id":69925807,"number":12607,"title":"Remove error check","user":{"login":"runcom","id":849915,"avatar_url":"https://avatars.githubusercontent.com/u/849915?v=3","gravatar_id":"","url":"https://api.github.com/users/runcom","html_url":"https://github.com/runcom","followers_url":"https://api.github.com/users/runcom/followers","following_url":"https://api.github.com/users/runcom/following{/other_user}","gists_url":"https://api.github.com/users/runcom/gists{/gist_id}","starred_url":"https://api.github.com/users/runcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runcom/subscriptions","organizations_url":"https://api.github.com/users/runcom/orgs","repos_url":"https://api.github.com/users/runcom/repos","events_url":"https://api.github.com/users/runcom/events{/privacy}","received_events_url":"https://api.github.com/users/runcom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/exp/beginner","name":"exp/beginner","color":"A8DBA8"},{"url":"https://api.github.com/repos/docker/docker/labels/status/claimed","name":"status/claimed","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-21T19:02:47Z","updated_at":"2015-05-05T16:38:46Z","closed_at":"2015-05-05T16:38:46Z","body":"Assignment, error check (and return) at https://github.com/docker/docker/blob/master/api/server/server.go#L947-950 should be removed.\r\n\r\nImplement `intValue` in https://github.com/docker/docker/blob/master/api/server/form.go (following how `int64Value` is implemented to return 0 on error) and use it directly in the call to `ContainerRestart` at https://github.com/docker/docker/blob/master/api/server/server.go#L952 like `intValue(r.Form.Get(\"t\"))`"}}