Skip to content

Commit

Permalink
fix: 'det job list' ignores the '--resource-pool' argument (#5713)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBlaskey authored Jan 11, 2023
1 parent 657b5ad commit 73c1a9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/release-notes/cli-job-ls-resource-pool-fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
:orphan:

**Bug Fixes**

- Job queue: Fix an issue where the CLI command ``det job list`` would ignore the argument
``--resource-pool``.
1 change: 1 addition & 0 deletions harness/determined/cli/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def ls(args: Namespace) -> None:
def get_with_offset(offset: int) -> bindings.v1GetJobsResponse:
return bindings.get_GetJobs(
session,
resourcePool=args.resource_pool,
offset=offset,
limit=args.limit,
orderBy=order_by,
Expand Down

0 comments on commit 73c1a9f

Please sign in to comment.