#59096 Fix for not working azure_rm_aks (#59097)

pull/61669/head
Mateusz Gałażyn 5 years ago committed by Yunge Zhu
parent cf86a5e07a
commit 52a665e224

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

Loading…
Cancel
Save