Commit 316ad059 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Variable name typo

parent 8d9f3ab6
......@@ -251,7 +251,7 @@ def user_quota(request):
if 'cyclades.vm' in quota:
vms_limit_for_user = quota['cyclades.vm']['maxValue']
if 'cyclades.network.private' in quota:
vms_limit_for_user = quota['cyclades.network.private']['maxValue']
networks_limit_for_user = quota['cyclades.network.private']['maxValue']
return HttpResponse('{"vms_quota":%d, "networks_quota":%d}' % (vms_limit_for_user,
networks_limit_for_user),
......
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