Skip to content

Commit 3906fa2

Browse files
Potential fix for code scanning alert no. 427: Explicit returns mixed with implicit (fall through) returns
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Hemil Desai <[email protected]> Signed-off-by: Hemil Desai <[email protected]>
1 parent 6ca7301 commit 3906fa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nemo_run/run/ray/slurm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ def create_ray_cluster(
334334

335335
return job_id
336336

337+
return None
338+
337339
def schedule_ray_job(
338340
self,
339341
name: str,

0 commit comments

Comments
 (0)