Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Apr 30, 2019
1 parent aa227a1 commit 5aa67d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IM/connectors/OpenNebula.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,10 +1090,10 @@ def create_snapshot(self, vm, disk_num, image_name, auto_delete, auth_data):
one_ver = self.getONEVersion(auth_data)
if one_ver.startswith("5."):
success, res_info = server.one.vm.disksaveas(session_id, int(vm.id), disk_num,
image_name, image_type, -1)[0:2]
image_name, image_type, -1)[0:2]
else:
success, res_info = server.one.vm.savedisk(session_id, int(vm.id), disk_num,
image_name, image_type, True, False)[0:2]
image_name, image_type, True, False)[0:2]

if success:
new_url = "one://%s/%d" % (self.cloud.server, res_info)
Expand Down

0 comments on commit 5aa67d1

Please sign in to comment.