mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-23 00:11:41 -04:00
Update source_machine_config.go
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user