Commit 24520688 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Verbose how much the value exceeded to close capacity

parent 02c52815
......@@ -96,7 +96,7 @@ if can_allocate:
consumed_capacity += software_release_capacity
if consumed_capacity >= computer_capacity_quantity:
can_allocate = False
comment = 'Computer capacity limit exceeded'
comment = 'Computer capacity limit exceeded (%s >= %s)' % (consumed_capacity, computer_capacity_quantity)
if can_allocate:
for instance in portal.portal_catalog.portal_catalog(
......
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