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{}},
|
||||
},
|
||||
Provisioners: []CoreBuildProvisioner{
|
||||
{"mock-provisioner", &MockProvisioner{}, []interface{}{42}},
|
||||
{
|
||||
PType: "mock-provisioner",
|
||||
Provisioner: &MockProvisioner{},
|
||||
config: []interface{}{42}},
|
||||
},
|
||||
PostProcessors: [][]CoreBuildPostProcessor{
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue