mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Pylint fix
This commit is contained in:
parent
88e03bba6d
commit
792b422dc2
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,7 @@ def __validate__(config):
|
|||
return False, ('Configuration for status beacon must be a dictionary.')
|
||||
return True, 'Valid beacon configuration'
|
||||
|
||||
|
||||
def __virtual__():
|
||||
# TODO Find a way to check the existence of the module itself, not just a single func
|
||||
if 'status.w' not in __salt__:
|
||||
|
@ -107,6 +108,7 @@ def __virtual__():
|
|||
else:
|
||||
return True
|
||||
|
||||
|
||||
def beacon(config):
|
||||
'''
|
||||
Return status for requested information
|
||||
|
|
Loading…
Add table
Reference in a new issue