fix: handle null Env in Portainer stack redeploy #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/cicd_improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
'.Env // []'— Portainer returnsnullforEnvwhen no env vars are set via the UI; defaulting to[]fixes the--argjson invalid JSONerrorENV→STACK_ENV—ENVis a reserved shell variable in sh, which can cause subtle interferenceset -eso the script stops on first failure instead of printing a false success messagecurl -fso HTTP errors from Portainer are treated as failuresTest plan
🤖 Generated with Claude Code