Update image_config.go

This commit is contained in:
Adrien Delorme 2020-03-17 15:26:18 +01:00
parent 78ac1e256b
commit 4ccf158fbf

View file

@ -234,9 +234,5 @@ func (c *AlicloudImageConfig) Prepare(ctx *interpolate.Context) []error {
c.AlicloudImageDestinationRegions = regions
}
if len(errs) > 0 {
return errs
}
return nil
return errs
}