Backup fails when container has env-var without value #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: konrad/docker-db-backup#4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Hi,
first, thanks for the tool, it simpilfied my backup strategy a lot :-)
I just noticed a minor issue, when a docker-compose contains an env-variable without a value. This results in the following error:
It's quite obvious where the problem lies in helper.go. It only needs a length-check and a fallback to
""
instead ofparts[1]
.The following code should work:
Should be fixed in
1b17dedc47
, please check with the next build.