#59096 Fix for not working azure_rm_aks (#59097)

This commit is contained in:
Mateusz Gałażyn 2019-09-02 09:50:11 +02:00 committed by Yunge Zhu
parent cf86a5e07a
commit 52a665e224

View file

@ -356,7 +356,7 @@ class AzureRMModuleBase(object):
try:
client_module = importlib.import_module(client_type.__module__)
client_version = client_module.VERSION
except RuntimeError:
except (RuntimeError, AttributeError):
# can't get at the module version for some reason, just fail silently...
return
expected_version = package_version.get('expected_version')