Merge pull request #44901 from sahama/bugfix_for_beacon_state

change beacons.enable_job to beacons.enable_beacon
This commit is contained in:
Nicole Thomas 2017-12-14 09:09:15 -05:00 committed by GitHub
commit b3a75ed713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']