mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47562 from rallytime/bp-47513
Back-port #47513 to 2017.7
This commit is contained in:
commit
be29b58a09
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def _retrieve_device_cache(proxy=None):
|
|||
DEVICE_CACHE = proxy['napalm.get_device']()
|
||||
elif not proxy and salt.utils.napalm.is_minion(__opts__):
|
||||
# if proxy var not passed and is running in a straight minion
|
||||
DEVICE_CACHE = salt.utils.napalm.get_device_opts(__opts__)
|
||||
DEVICE_CACHE = salt.utils.napalm.get_device(__opts__)
|
||||
return DEVICE_CACHE
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue