mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #44901 from sahama/bugfix_for_beacon_state
change beacons.enable_job to beacons.enable_beacon
This commit is contained in:
commit
b3a75ed713
@ -173,7 +173,7 @@ def enabled(name, **kwargs):
|
||||
result = __salt__['beacons.enable_beacon'](name, **kwargs)
|
||||
ret['comment'].append(result['comment'])
|
||||
else:
|
||||
result = __salt__['beacons.enable_job'](name, **kwargs)
|
||||
result = __salt__['beacons.enable_beacon'](name, **kwargs)
|
||||
if not result['result']:
|
||||
ret['result'] = result['result']
|
||||
ret['comment'] = result['comment']
|
||||
|
Loading…
Reference in New Issue
Block a user