Skip to content

Commit

Permalink
k run: fix empty env case
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackeus committed Sep 16, 2024
1 parent 2e8157d commit 71900b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ def run
name: "run",
image: run_container.fetch("image"),
envFrom: run_container["envFrom"] || [],
env: run_container["env"] || {},
env: run_container["env"] || [],
imagePullPolicy: "IfNotPresent",
command: ["sleep", disable_timeout ? "86400" : "3600"], # shutdown the pod after 1 hour or 24 hours
},
Expand Down

0 comments on commit 71900b0

Please sign in to comment.