mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Throw an error rather than just logging for missing SLS, Fix #5998
This commit is contained in:
parent
1106218547
commit
7f871f76c0
@ -2214,7 +2214,7 @@ class BaseHighState(object):
|
||||
statefiles = fnmatch.filter(self.avail[env], sls_match)
|
||||
if not statefiles:
|
||||
# No matching sls file was found! Output an error
|
||||
log.error(
|
||||
all_errors.append(
|
||||
'No matching sls found for \'{0}\' in env \'{1}\''
|
||||
.format(sls_match, env)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user