Sfoglia il codice sorgente

Fix azure get vm creation time

Nuwan Goonasekera 3 anni fa
parent
commit
c66a840dca
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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):
         """