Skip to content

Commit 075a84d

Browse files
authored
Merge pull request #8 from 0x0elliot/fix/runtime-variable-consistency
Fix: Normalize 'runtime' variable to treat 'swarm' as 'run'
2 parents 5611e62 + d651515 commit 075a84d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shuffle_sdk/shuffle_sdk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333

3434

3535
runtime = os.getenv("SHUFFLE_SWARM_CONFIG", "")
36+
if runtime == "swarm":
37+
runtime = "run"
3638

3739
###
3840
###

0 commit comments

Comments
 (0)