mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix aks failure (#54381)
This commit is contained in:
parent
cd8f8d7a3e
commit
98a3fa2dac
1 changed files with 1 additions and 1 deletions
|
@ -539,9 +539,9 @@ class AzureRMManagedCluster(AzureRMModuleBase):
|
|||
if agentpoolcount > 1:
|
||||
self.fail('You cannot specify more than one agent_pool_profiles currently')
|
||||
|
||||
available_versions = self.get_all_versions()
|
||||
if not response:
|
||||
to_be_updated = True
|
||||
available_versions = self.get_all_versions()
|
||||
if self.kubernetes_version not in available_versions.keys():
|
||||
self.fail("Unsupported kubernetes version. Expected one of {0} but got {1}".format(available_versions.keys(), self.kubernetes_version))
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue