Skip to content

Commit 3d85ded

Browse files
authored
Merge pull request #5500 from taskcluster/matt-boris/fixQuarantinedFilter
fix(ui): filter by quarantine status param fix
2 parents d26ab82 + f6ababf commit 3d85ded

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
audience: users
2+
level: patch
3+
---
4+
Fix this error (`Function listWorkers takes options: continuationToken, limit, quarantined, workerState but was given isQuarantined`) while filtering workers based on quaratine status.

services/web-server/src/loaders/workers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = ({ workerManager }, isAuthed, rootUrl, monitor, strategies, req
2727
}) => {
2828
let opts = { ...options };
2929
if (typeof isQuarantined === 'boolean') {
30-
opts.isQuarantined = isQuarantined;
30+
opts.quarantined = isQuarantined;
3131
}
3232
if (typeof workerState === 'string') {
3333
opts.workerState = workerState;

0 commit comments

Comments
 (0)