mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Update Acceptance Test to include BuilderSet
This change initializes a MapOfBuilders with the test builder to fix a panic with checking if the initialized BuilderSet has an entry for the test builder.
This commit is contained in:
parent
efe182b221
commit
311ba90f7a
1 changed files with 3 additions and 0 deletions
|
|
@ -136,6 +136,9 @@ func Test(t TestT, c TestCase) {
|
|||
Components: packer.ComponentFinder{
|
||||
PluginConfig: &packer.PluginConfig{
|
||||
Builders: TestBuilderSet{
|
||||
BuilderSet: packersdk.MapOfBuilder{
|
||||
"test": func() (packersdk.Builder, error) { return c.Builder, nil },
|
||||
},
|
||||
StartFn: func(n string) (packersdk.Builder, error) {
|
||||
if n == "test" {
|
||||
return c.Builder, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue