mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
c80299b918
commit
5e46ea4441
1 changed files with 2 additions and 0 deletions
|
@ -2591,6 +2591,8 @@ class BaseHighState(object):
|
|||
inc_sls = '.'.join(p_comps[:-1]) + inc_sls
|
||||
|
||||
if env_key != xenv_key:
|
||||
if matches is None:
|
||||
matches = []
|
||||
# Resolve inc_sls in the specified environment
|
||||
if env_key in matches or fnmatch.filter(self.avail[env_key], inc_sls):
|
||||
resolved_envs = [env_key]
|
||||
|
|
Loading…
Add table
Reference in a new issue