Selaa lähdekoodia

Fix azure get vm creation time

Nuwan Goonasekera 4 vuotta sitten
vanhempi
sitoutus
c66a840dca
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      cloudbridge/providers/azure/resources.py

+ 1 - 1
cloudbridge/providers/azure/resources.py

@@ -1130,7 +1130,7 @@ class AzureInstance(BaseInstance):
         """
         Get the instance creation time
         """
-        return self._vm.time_created
+        return self._vm.system_data.created_at
 
     def reboot(self):
         """