src/api2/node/tasks.rs: correctly handle start parameter
This commit is contained in:
parent
063ca5be77
commit
3c3bee2e32
@ -44,7 +44,7 @@ fn list_tasks(
|
||||
entry["status"] = Value::from(state.1.clone());
|
||||
}
|
||||
|
||||
if (count as u64) <= start {
|
||||
if (count as u64) < start {
|
||||
count += 1;
|
||||
continue;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user