mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
use self.avail to avoid repeated calls to fileserver
This commit is contained in:
parent
30510272a0
commit
3fe2dd80e2
@ -1987,7 +1987,7 @@ class BaseHighState(object):
|
||||
# target so that the next recursion of render_state
|
||||
# will recognize the error.
|
||||
sls_targets = fnmatch.filter(
|
||||
self.client.list_states(env),
|
||||
self.avail[env],
|
||||
inc_sls
|
||||
) or [inc_sls]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user