Commit 3f65f5f1 authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

size has been removed from Image

parent e6a5c1ef
......@@ -133,8 +133,7 @@ def create_image(request):
owner = get_user()
vm = get_vm(server_id)
image = Image.objects.create(name=name, size=0, owner=owner, sourcevm=vm)
image = Image.objects.create(name=name, owner=owner, sourcevm=vm)
imagedict = image_to_dict(image)
if request.serialization == 'xml':
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 to comment