fix for managed disk facts (#46021)

pull/45987/merge
Zim Kalinowski 6 years ago committed by GitHub
parent f1038a5c05
commit 6056b89675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,7 +157,7 @@ def managed_disk_to_dict(managed_disk):
source_resource_uri=create_data.source_resource_id,
disk_size_gb=managed_disk.disk_size_gb,
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
)

Loading…
Cancel
Save