This commit is contained in:
Megan Marsh 2020-12-03 16:11:36 -08:00
parent 352f064b55
commit cda3aa205a
1 changed files with 1 additions and 3 deletions

View File

@ -33,9 +33,7 @@ func RenderConfig(builderConfig map[string]interface{}, provisionerConfig []map[
t["builders"][0][k] = v t["builders"][0][k] = v
} }
// Apply special provisioner overrides // Apply special provisioner overrides
for _, v := range provisionerConfig { t["provisioners"] = append(t["provisioners"], provisionerConfig...)
t["provisioners"] = append(t["provisioners"], v)
}
j, _ := json.Marshal(t) j, _ := json.Marshal(t)
return string(j) return string(j)