Commit a9532b94 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

cyclades: Fix floating_ip resource counting

parent 3df0cee9
......@@ -43,7 +43,7 @@ def get_db_holdings(user=None):
vms = VirtualMachine.objects.filter(deleted=False)
networks = Network.objects.filter(deleted=False)
floating_ips = IPAddress.objects.filter(deleted=False)
floating_ips = IPAddress.objects.filter(deleted=False, floating_ip=True)
if user is not None:
vms = vms.filter(userid=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