Merge pull request #50605 from Oloremo/fix-supervisord-dead-state-idempotency

Fixed the supervisord.dead state idempotency
This commit is contained in:
Daniel Wozniak 2018-11-26 17:11:25 -07:00 committed by GitHub
commit 15bf09aa0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,6 +338,7 @@ def dead(name,
else:
# process name doesn't exist
ret['comment'] = "Service {0} doesn't exist".format(name)
return ret
if is_stopped is True:
ret['comment'] = "Service {0} is not running".format(name)