Skip to content

Commit 93f2536

Browse files
committed
Merge pull request #298 from aledbf/env-strings
ref(workflow): the value of any key in env must be a string
2 parents 630fb9c + b837174 commit 93f2536

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)