Commit 51b00d53 by Belákovics Ádám

Fix return

parent 0be24b70
Pipeline #715 failed with stage
in 38 seconds
......@@ -52,7 +52,7 @@ class OSVirtualMachineManager(InstanceInterface):
@openstackError
def create_vm_from_template(self, name, image, flavor, networks):
self.create_multiple_vm_from_template(name, image, flavor, networks, 1)
return self.create_multiple_vm_from_template(name, image, flavor, networks, 1)
@openstackError
def create_multiple_vm_from_template(self, name, image, flavor, networks,
......@@ -190,9 +190,6 @@ class OSVirtualMachineManager(InstanceInterface):
def attach_volume(self, server_id, volume_id, device=None):
self.openstack.compute.create_volume_attachment(server_id,
{"volumeId": volume_id,
# server = interface.openstack.compute.get_server("8e94c162-f8ed-4872-b9e5-50bf33040b5b")
#
# print(server) "device": device
})
@openstackError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment