mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #10858 from topochan/patch-1
Cleanup run and run_all params in nagios module
This commit is contained in:
commit
53124953a0
@ -83,7 +83,7 @@ def _format_dict_key(args, plugin):
|
||||
return key_name
|
||||
|
||||
|
||||
def run(plugin, args='', key_name=None):
|
||||
def run(plugin, args=''):
|
||||
'''
|
||||
Run nagios plugin and return all the data execution with cmd.run
|
||||
|
||||
@ -118,7 +118,7 @@ def retcode(plugin, args='', key_name=None):
|
||||
return data
|
||||
|
||||
|
||||
def run_all(plugin, args='', key_name=None):
|
||||
def run_all(plugin, args=''):
|
||||
'''
|
||||
Run nagios plugin and return all the data execution with cmd.run_all
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user