fix: undefined variable correction

This commit is contained in:
Marin Salinas 2019-02-07 14:55:12 -06:00 committed by Megan Marsh
parent 996ee89397
commit d2d794f6dc
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ import (
"github.com/outscale/osc-go/oapi"
)
const BuilderId = "digitalonus.osc.bsusurrogate"
const BuilderId = "oapi.outscale.bsusurrogate"
type Config struct {
common.PackerConfig `mapstructure:",squash"`
@ -251,7 +251,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
if omis, ok := state.GetOk("omis"); ok {
// Build the artifact and return it
artifact := &osccommon.Artifact{
Amis: omis.(map[string]string),
Omis: omis.(map[string]string),
BuilderIdValue: BuilderId,
Config: clientConfig,
}