Commit 3a662fb5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: can not predicate test on aggregate

Aggregate is not acquired from Supply to Cell
parent cfdc0693
...@@ -6,7 +6,7 @@ if (supply.getPortalType() != 'Allocation Supply') or (supply.getValidationState ...@@ -6,7 +6,7 @@ if (supply.getPortalType() != 'Allocation Supply') or (supply.getValidationState
if not context.isAllocable(): if not context.isAllocable():
return None return None
base_category_tuple = ('resource', 'software_type', 'software_release', 'destination_project', 'aggregate') base_category_tuple = ('resource', 'software_type', 'software_release', 'destination_project')
if supply.getDestination(): if supply.getDestination():
base_category_tuple += ('destination',) base_category_tuple += ('destination',)
......
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