Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Revital Sur <eres@il.ibm.com>
  • Loading branch information
revit13 committed Sep 22, 2024
1 parent 9f9611f commit 214c032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kfp/kfp_ray_components/src/delete_ray_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def cleanup_ray_cluster(
sys.exit(1)

dict_params = KFPUtils.load_from_json(additional_params.replace("'", '"'))
delete_cluster_delay_minutes = (dict_params.get("delete_cluster_delay_minutes", 0),)
delete_cluster_delay_minutes = dict_params.get("delete_cluster_delay_minutes", 0)
time.sleep(delete_cluster_delay_minutes * 60)
# cleanup
remote_jobs = RayRemoteJobs(server_url=server_url)
Expand Down

0 comments on commit 214c032

Please sign in to comment.