Revision 368d879e snf-cyclades-app/synnefo/logic/ips.py

b/snf-cyclades-app/synnefo/logic/ips.py
176 176
    floating_ip.deleted = True
177 177
    floating_ip.save()
178 178
    # Release quota for floating IP
179
    quotas.issue_and_accept_commission(floating_ip, delete=True)
179
    quotas.issue_and_accept_commission(floating_ip, action="DESTROY")
180 180
    transaction.commit()
181 181
    # Delete the floating IP from DB
182 182
    log.info("Deleted floating IP '%s' of user '%s", floating_ip,

Also available in: Unified diff