Rename function from ambiguous name

This commit is contained in:
Bo Maryniuk 2017-11-21 12:53:47 +01:00
parent 265de8e61c
commit c2c47e4e71

View file

@ -99,7 +99,7 @@ def _set_retcode(ret, highstate=None):
__context__['retcode'] = 2
def _check_pillar(kwargs, pillar=None):
def _get_pillar_errors(kwargs, pillar=None):
'''
Check the pillar for errors, refuse to run the state if there are errors
in the pillar and return the pillar errors