{"action":"closed","issue":{"url":"https://api.github.com/repos/chef-cookbooks/docker/issues/600","labels_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/600/comments","events_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/600/events","html_url":"https://github.com/chef-cookbooks/docker/issues/600","id":125830649,"number":600,"title":"Docker daemon execution loop final iteration can fail","user":{"login":"odacremolbap","id":9891289,"avatar_url":"https://avatars.githubusercontent.com/u/9891289?v=3","gravatar_id":"","url":"https://api.github.com/users/odacremolbap","html_url":"https://github.com/odacremolbap","followers_url":"https://api.github.com/users/odacremolbap/followers","following_url":"https://api.github.com/users/odacremolbap/following{/other_user}","gists_url":"https://api.github.com/users/odacremolbap/gists{/gist_id}","starred_url":"https://api.github.com/users/odacremolbap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odacremolbap/subscriptions","organizations_url":"https://api.github.com/users/odacremolbap/orgs","repos_url":"https://api.github.com/users/odacremolbap/repos","events_url":"https://api.github.com/users/odacremolbap/events{/privacy}","received_events_url":"https://api.github.com/users/odacremolbap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-10T16:48:52Z","updated_at":"2016-01-10T18:05:33Z","closed_at":"2016-01-10T18:05:33Z","body":"The script at\r\n\r\nhttps://github.com/chef-cookbooks/docker/blob/master/libraries/docker_service_manager_execute.rb#L38-L50\r\n\r\nmight result in a wrong failure exit code if the last iteration is successful, because of adding the iterator at the beginning of the loop."}}