Skip to content

Commit 4d99bf3

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 <hemil.desai10@gmail.com>
1 parent c4b1189 commit 4d99bf3

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)