summaryrefslogtreecommitdiff
path: root/vendor/github.com/openshift/imagebuilder/internals.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-06 06:21:08 -0400
committerGitHub <noreply@github.com>2020-07-06 06:21:08 -0400
commita7ceed05a0782beecfbfc53bb1f9bfd5c41f859e (patch)
tree7474532d808b38979cd314bf86a16f938ae5a846 /vendor/github.com/openshift/imagebuilder/internals.go
parent41ccc045fb492e79d8b6c1bf2dba97b0fa912afa (diff)
parenta704911061c2205475bf5b252d80fc43a9927a41 (diff)
downloadpodman-a7ceed05a0782beecfbfc53bb1f9bfd5c41f859e.tar.gz
podman-a7ceed05a0782beecfbfc53bb1f9bfd5c41f859e.tar.bz2
podman-a7ceed05a0782beecfbfc53bb1f9bfd5c41f859e.zip
Merge pull request #6848 from TomSweeneyRedHat/dev/tsweeney/ib_v1.1.6_up
Bump imagebuilder to v1.1.6 in upstream
Diffstat (limited to 'vendor/github.com/openshift/imagebuilder/internals.go')
-rw-r--r--vendor/github.com/openshift/imagebuilder/internals.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/openshift/imagebuilder/internals.go b/vendor/github.com/openshift/imagebuilder/internals.go
index b652dc1c7..5dc174bf7 100644
--- a/vendor/github.com/openshift/imagebuilder/internals.go
+++ b/vendor/github.com/openshift/imagebuilder/internals.go
@@ -103,7 +103,7 @@ func makeUserArgs(bEnv []string, bArgs map[string]string) (userArgs []string) {
userArgs = bEnv
envMap := make(map[string]string)
for _, envVal := range bEnv {
- val := strings.Split(envVal, "=")
+ val := strings.SplitN(envVal, "=", 2)
if len(val) > 1 {
envMap[val[0]] = val[1]
}