Skip to content

Commit

Permalink
add "--preserve-queue" in kill run request payload
Browse files Browse the repository at this point in the history
Signed-off-by: Vallari Agrawal <[email protected]>
  • Loading branch information
VallariAg committed Jul 8, 2024
1 parent 9598d0f commit 6d3badd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/teuthologyAPI.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export type KillRunPayload = {
"--run": string,
"--owner": string,
"--machine-type": string,
"--preserve-queue": boolean,
}
1 change: 1 addition & 0 deletions src/pages/Run/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default function Run() {
"--run": data?.name || "",
"--owner": run_owner,
"--machine-type": data?.machine_type || "",
"--preserve-queue": true,
}
return (
<Root className={classes.root}>
Expand Down

0 comments on commit 6d3badd

Please sign in to comment.