mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #50605 from Oloremo/fix-supervisord-dead-state-idempotency
Fixed the supervisord.dead state idempotency
This commit is contained in:
commit
15bf09aa0c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user