summaryrefslogtreecommitdiff
path: root/vendor/github.com/openshift/imagebuilder/builder.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/builder.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/builder.go')
-rw-r--r--vendor/github.com/openshift/imagebuilder/builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/openshift/imagebuilder/builder.go b/vendor/github.com/openshift/imagebuilder/builder.go
index ffc3b257f..583c303c0 100644
--- a/vendor/github.com/openshift/imagebuilder/builder.go
+++ b/vendor/github.com/openshift/imagebuilder/builder.go
@@ -334,7 +334,7 @@ func ParseFile(path string) (*parser.Node, error) {
func (b *Builder) Step() *Step {
argsMap := make(map[string]string)
for _, argsVal := range b.Arguments() {
- val := strings.Split(argsVal, "=")
+ val := strings.SplitN(argsVal, "=", 2)
if len(val) > 1 {
argsMap[val[0]] = val[1]
}