fix: change bad artifact validation in bsu builder

This commit is contained in:
Marin Salinas 2019-05-03 13:10:38 -05:00 committed by Megan Marsh
parent d10f87f815
commit 1b7c56f73d
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
} }
//Build the artifact //Build the artifact
if omis, ok := state.GetOk("omis"); !ok { if omis, ok := state.GetOk("omis"); ok {
// Build the artifact and return it // Build the artifact and return it
artifact := &osccommon.Artifact{ artifact := &osccommon.Artifact{
Omis: omis.(map[string]string), Omis: omis.(map[string]string),