1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2020-11-28 16:34:33 -03:00
parent e337fc9ca0
commit b067fdc894

View File

@ -59,7 +59,7 @@ func manifestName(ctx *context.Context, manifest config.DockerManifest) (string,
}
func manifestImages(ctx *context.Context, manifest config.DockerManifest) ([]string, error) {
var imgs []string
var imgs = make([]string, 0, len(manifest.ImageTemplates))
for _, img := range manifest.ImageTemplates {
str, err := tmpl.New(ctx).Apply(img)
if err != nil {