mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-15 21:31:02 +00:00
fix typo in azure_rm_vm plan
This commit is contained in:
@@ -879,7 +879,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
|
||||
plan = None
|
||||
if self.plan:
|
||||
plan = Plan(name=self.plan.get('name'), product=self.plan.get('product'), publisher=self.plan.get('publisher'),
|
||||
promotion_code=self.product.get('promotion_code'))
|
||||
promotion_code=self.plan.get('promotion_code'))
|
||||
|
||||
vm_resource = VirtualMachine(
|
||||
self.location,
|
||||
|
||||
Reference in New Issue
Block a user