mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Merge pull request #30660 from invsblduck/revert_issue_21084
Revert service.mod_watch() bug introduced in Issue 21084
This commit is contained in:
commit
00983b809b
@ -554,8 +554,6 @@ def mod_watch(name,
|
|||||||
func = __salt__['service.restart']
|
func = __salt__['service.restart']
|
||||||
verb = 'restart'
|
verb = 'restart'
|
||||||
else:
|
else:
|
||||||
if 'service.stop' in __salt__:
|
|
||||||
__salt__['service.stop'](name)
|
|
||||||
func = __salt__['service.start']
|
func = __salt__['service.start']
|
||||||
verb = 'start'
|
verb = 'start'
|
||||||
if not past_participle:
|
if not past_participle:
|
||||||
|
Loading…
Reference in New Issue
Block a user