Skip to content
This repository was archived by the owner on Mar 11, 2023. It is now read-only.

Commit 814cf54

Browse files
Merge pull request #23 from MaterializeInc/fix-buildargs-2
ensure args is always set
2 parents 7391623 + b2c1d56 commit 814cf54

File tree

1 file changed

+1
-1
lines changed
  • cmd/pulumi-resource-docker-buildkit

1 file changed

+1
-1
lines changed

cmd/pulumi-resource-docker-buildkit/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ func (k *dockerBuildkitProvider) dockerBuild(
274274
"--target", target,
275275
"-t", name, "--push",
276276
}
277-
var buildArgs []map[string]string
277+
buildArgs := []map[string]string{}
278278
if !inputs["args"].IsNull() {
279279
for _, v := range inputs["args"].ArrayValue() {
280280
name := v.ObjectValue()["name"].StringValue()

0 commit comments

Comments
 (0)