Commit f5bdcb10 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Be consistent with the listbox

parent 65d20860
# This script might not be efficient to a large quantities of
# Compute Nodes
from DateTime import DateTime
import json
kw = {"project_uid": context.getUid(),
"at_date": DateTime(),
"limit": 1}
return json.dumps(len(context.portal_simulation.getCurrentTrackingList(**kw)))
return json.dumps(len(context.Project_getComputeNodeTrackingList()))
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