1. Josh VanderLinden
  2. pysphere

Commits

argos83@gmail.com  committed e5b9b46
  • Participants
  • Parent commits 9e3c48a
  • Branches master

Comments (0)

Files changed (1)

File pysphere/vi_virtual_machine.py

View file
                 if status == vi_task.STATE_ERROR:
                     raise VIException(vi_task.get_error_message(),
                                       FaultTypes.TASK_ERROR)
-                return VIVirtualMachine(self._server, vi_task.get_result()) 
+                return VIVirtualMachine(self._server, vi_task.get_result()._obj) 
                 
             return vi_task