Skip to content

Commit

Permalink
Merge pull request #35 from nuclearcat/fix-id-field
Browse files Browse the repository at this point in the history
fix(checkout.py): Due pydantic update change field name
  • Loading branch information
aliceinwire authored Oct 24, 2024
2 parents 9d7ccdd + fa4f2f6 commit f6b75c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kci-dev/subcommands/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ def watch_jobs(baseurl, token, treeid, jobfilter, test):
fg="red",
)
sys.exit(2)
nodeid = node.get("id")
click.secho(
f"Node {node['_id']} job {node['name']} State {node['state']} Result {node['result']}",
f"Node {nodeid} job {node['name']} State {node['state']} Result {node['result']}",
fg=color,
)
if len(joblist) == 0 and inprogress == 0:
Expand Down

0 comments on commit f6b75c1

Please sign in to comment.