Commit c09802ad authored by daidekun's avatar daidekun

fixbugs

parent 9052b4a5
......@@ -34,7 +34,7 @@ def call(body) {
arr_machines = machines.split(",")
count = arr_machines.size()
int_count = (count / 2).toInteger()
machines_list = _utils.partList(arr_machines.toList(), int_count)
machines_list = _utils.partList(arr_machines.toList(), int_count, count)
print machines_list
for (machine in machines_list) {
......
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