mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix for managed disk facts (#46021)
This commit is contained in:
parent
f1038a5c05
commit
6056b89675
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def managed_disk_to_dict(managed_disk):
|
||||||
source_resource_uri=create_data.source_resource_id,
|
source_resource_uri=create_data.source_resource_id,
|
||||||
disk_size_gb=managed_disk.disk_size_gb,
|
disk_size_gb=managed_disk.disk_size_gb,
|
||||||
os_type=managed_disk.os_type.value if managed_disk.os_type else None,
|
os_type=managed_disk.os_type.value if managed_disk.os_type else None,
|
||||||
storage_account_type=managed_disk.sku.name.value,
|
storage_account_type=managed_disk.sku.name.value if managed_disk.sku else None,
|
||||||
managed_by=managed_disk.managed_by
|
managed_by=managed_disk.managed_by
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue