This commit is contained in:
Frankie Hui 2018-05-08 00:59:01 +08:00 committed by rallytime
parent 291d3d3bd8
commit 357bc084b3
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -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