From 0e712f08d9f273632fadee3de1e6c1055dbdc161 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Mon, 8 Jul 2024 14:10:27 +0530 Subject: [PATCH] add "--preserve-queue" in kill run request payload Signed-off-by: Vallari Agrawal --- src/lib/teuthologyAPI.d.ts | 1 + src/pages/Run/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/teuthologyAPI.d.ts b/src/lib/teuthologyAPI.d.ts index a7f0149..5843b7e 100644 --- a/src/lib/teuthologyAPI.d.ts +++ b/src/lib/teuthologyAPI.d.ts @@ -11,4 +11,5 @@ export type KillRunPayload = { "--run": string, "--owner": string, "--machine-type": string, + "--preserve-queue": boolean, } diff --git a/src/pages/Run/index.tsx b/src/pages/Run/index.tsx index 1cd906b..281c3a3 100644 --- a/src/pages/Run/index.tsx +++ b/src/pages/Run/index.tsx @@ -61,6 +61,7 @@ export default function Run() { "--run": data?.name || "", "--owner": run_owner, "--machine-type": data?.machine_type || "", + "--preserve-queue": true, } return (