mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +08:00
Vendor in containers/buildah@v1.26.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
10
vendor/github.com/containers/buildah/imagebuildah/util.go
generated
vendored
10
vendor/github.com/containers/buildah/imagebuildah/util.go
generated
vendored
@@ -10,3 +10,13 @@ import (
|
||||
func InitReexec() bool {
|
||||
return buildah.InitReexec()
|
||||
}
|
||||
|
||||
// argsMapToSlice returns the contents of a map[string]string as a slice of keys
|
||||
// and values joined with "=".
|
||||
func argsMapToSlice(m map[string]string) []string {
|
||||
s := make([]string, 0, len(m))
|
||||
for k, v := range m {
|
||||
s = append(s, k+"="+v)
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user