From 3f706e481c42d47024a8ca65954c5963cac05fac Mon Sep 17 00:00:00 2001 From: rajdeep11 Date: Thu, 27 Jun 2024 16:57:41 +0530 Subject: [PATCH] fix for the delete training job fixed the delete training job Change-Id: Ia1c9ec1725d0708dce34be6d69ef1b6f19903c90 Signed-off-by: rajdeep11 --- trainingmgr/trainingmgr_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trainingmgr/trainingmgr_main.py b/trainingmgr/trainingmgr_main.py index 01d7a9d..216560b 100644 --- a/trainingmgr/trainingmgr_main.py +++ b/trainingmgr/trainingmgr_main.py @@ -1181,7 +1181,7 @@ def delete_list_of_trainingjob_version(): if results: - if results[0][19]: + if results[0][17]: not_possible_to_delete.append(my_dict) LOGGER.debug("Failed to process deletion request because deletion is " + \ "already in progress" + \ -- 2.16.6