golang is so ridiculous with this for..loop pattern
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
a79346b978
commit
6df30f39f2
|
|
@ -243,6 +243,7 @@ func imageBuildOptions(options buildx.Options) dockertypes.ImageBuildOptions {
|
||||||
func toMapStringStringPtr(source map[string]string) map[string]*string {
|
func toMapStringStringPtr(source map[string]string) map[string]*string {
|
||||||
dest := make(map[string]*string)
|
dest := make(map[string]*string)
|
||||||
for k, v := range source {
|
for k, v := range source {
|
||||||
|
v := v
|
||||||
dest[k] = &v
|
dest[k] = &v
|
||||||
}
|
}
|
||||||
return dest
|
return dest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue