mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Add **kwargs to service.mod_watch
Gets rid of warnings about `enable` and `__reqs__` not being supported by the function
This commit is contained in:
parent
6368bef4e1
commit
08d4cbdbe3
@ -416,7 +416,12 @@ def disabled(name, **kwargs):
|
||||
return _disable(name, None, **kwargs)
|
||||
|
||||
|
||||
def mod_watch(name, sfun=None, sig=None, reload=False, full_restart=False):
|
||||
def mod_watch(name,
|
||||
sfun=None,
|
||||
sig=None,
|
||||
reload=False,
|
||||
full_restart=False,
|
||||
**kwargs):
|
||||
'''
|
||||
The service watcher, called to invoke the watch command.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user