mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Update source_machine_config.go
This commit is contained in:
parent
bd387edf5a
commit
5c91c7aae6
1 changed files with 2 additions and 4 deletions
|
|
@ -112,9 +112,7 @@ func (c *SourceMachineConfig) Prepare(ctx *interpolate.Context) []error {
|
|||
c.MachineTags = make(map[string]string)
|
||||
}
|
||||
|
||||
if len(errs) > 0 {
|
||||
return errs
|
||||
}
|
||||
errs = append(errs, c.MachineTag.CopyOn(c.MachineTags)...)
|
||||
|
||||
return nil
|
||||
return errs
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue