Avoid duplicate Azure storage account types.
This commit is contained in:
parent
8ae14bebda
commit
ae4d5e3257
1 changed files with 2 additions and 1 deletions
|
@ -174,6 +174,7 @@ class AzureRMStorageAccount(AzureRMModuleBase):
|
||||||
|
|
||||||
if HAS_AZURE:
|
if HAS_AZURE:
|
||||||
for key in self.storage_models.SkuName:
|
for key in self.storage_models.SkuName:
|
||||||
|
if getattr(key, 'value') not in self.module_arg_spec['account_type']['choices']:
|
||||||
self.module_arg_spec['account_type']['choices'].append(getattr(key, 'value'))
|
self.module_arg_spec['account_type']['choices'].append(getattr(key, 'value'))
|
||||||
|
|
||||||
self.results = dict(
|
self.results = dict(
|
||||||
|
|
Loading…
Reference in a new issue