Skip to content

Commit b837174

Browse files
committed
ref(workflow): the key in env must be a string
1 parent 630fb9c commit b837174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/scheduler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ def _create_rc(self, name, image, command, **kwargs): # noqa
640640

641641
if env:
642642
for k, v in env.items():
643-
containers[0]["env"].append({"name": k, "value": v})
643+
containers[0]["env"].append({"name": k, "value": str(v)})
644644

645645
if mem or cpu:
646646
containers[0]["resources"] = {"limits": {}}

0 commit comments

Comments
 (0)