Commit 73c3ed27 authored by Romain Courteaud's avatar Romain Courteaud

Fix capacity calculation.

The category table does not index any non strict link to the computer. It is
not possible in such case to directly use the uid value.
parent ebf34872
No related merge requests found
...@@ -97,7 +97,7 @@ if can_allocate:\n ...@@ -97,7 +97,7 @@ if can_allocate:\n
consumed_capacity = 0\n consumed_capacity = 0\n
\n \n
for instance in portal.portal_catalog.portal_catalog(\n for instance in portal.portal_catalog.portal_catalog(\n
default_aggregate_uid=computer.getUid(),\n default_aggregate_relative_url=\'%s/%%\' % computer.getRelativeUrl(),\n
portal_type=[\'Software Instance\', \'Slave Instance\'],\n portal_type=[\'Software Instance\', \'Slave Instance\'],\n
validation_state=\'validated\'):\n validation_state=\'validated\'):\n
\n \n
......
229 230
\ No newline at end of file \ No newline at end of file
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