Merge pull request #52201 from max-arnold/rename-beacon-validate

Rename obsolete beacon validation function
This commit is contained in:
Gareth J. Greenaway 2019-03-15 13:04:21 -07:00 committed by GitHub
commit 85be1782bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ the minion. The ``beacon`` function therefore cannot block and should be as
lightweight as possible. The ``beacon`` also must return a list of dicts, each
dict in the list will be translated into an event on the master.
Beacons may also choose to implement a ``__validate__`` function which
Beacons may also choose to implement a ``validate`` function which
takes the beacon configuration as an argument and ensures that it
is valid prior to continuing. This function is called automatically
by the Salt loader when a beacon is loaded.

View file

@ -27,7 +27,7 @@ def __virtual__():
'only available on AIX systems.')
def __validate__(config):
def validate(config):
'''
Validate the beacon configuration
'''