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
}
// Apply special provisioner overrides
for _, v := range provisionerConfig {
t["provisioners"] = append(t["provisioners"], v)
}
t["provisioners"] = append(t["provisioners"], provisionerConfig...)
j, _ := json.Marshal(t)
return string(j)