Avoid field confusion be naming fields in packer/build_test.go
This commit is contained in:
parent
2d1a67c6cb
commit
c905418d4e
|
@ -22,7 +22,10 @@ func testBuild() *CoreBuild {
|
||||||
"foo": {&MockHook{}},
|
"foo": {&MockHook{}},
|
||||||
},
|
},
|
||||||
Provisioners: []CoreBuildProvisioner{
|
Provisioners: []CoreBuildProvisioner{
|
||||||
{"mock-provisioner", &MockProvisioner{}, []interface{}{42}},
|
{
|
||||||
|
PType: "mock-provisioner",
|
||||||
|
Provisioner: &MockProvisioner{},
|
||||||
|
config: []interface{}{42}},
|
||||||
},
|
},
|
||||||
PostProcessors: [][]CoreBuildPostProcessor{
|
PostProcessors: [][]CoreBuildPostProcessor{
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue