summaryrefslogtreecommitdiff
path: root/vendor/github.com/openshift/imagebuilder/builder.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2020-07-02 15:27:49 -0400
committerTomSweeneyRedHat <tsweeney@redhat.com>2020-07-02 15:27:54 -0400
commitd4a0337d0255542d21eef844ff4a523fe7e54ef0 (patch)
treeca41d832f6771d705d4df5481d3bf140a7d54487 /vendor/github.com/openshift/imagebuilder/builder.go
parent1e429704172a774fc3b045dfc0ae427aa8cea5a3 (diff)
downloadpodman-d4a0337d0255542d21eef844ff4a523fe7e54ef0.tar.gz
podman-d4a0337d0255542d21eef844ff4a523fe7e54ef0.tar.bz2
podman-d4a0337d0255542d21eef844ff4a523fe7e54ef0.zip
Bump to imagebuilder v1.1.6 on v2 branch
As the title says. Addresses: https://github.com/containers/buildah/issues/2424 Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
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]
}