Update source_machine_config.go

This commit is contained in:
Adrien Delorme 2020-03-16 12:42:56 +01:00
parent bd387edf5a
commit 5c91c7aae6
1 changed files with 2 additions and 4 deletions

View File

@ -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
}