From b61aec7a1cb80d5e9f85a1030f82ba856aba4cab Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 29 Dec 2017 15:10:09 -0200 Subject: [PATCH] remove: TODOs that dont need to be fixed Closss #490 --- pipeline/fpm/fpm.go | 2 +- pipeline/snapcraft/snapcraft.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline/fpm/fpm.go b/pipeline/fpm/fpm.go index df6888305..871e10fe5 100644 --- a/pipeline/fpm/fpm.go +++ b/pipeline/fpm/fpm.go @@ -72,7 +72,7 @@ func doRun(ctx *context.Context) error { ).GroupByPlatform() { sem <- true format := format - arch := linux.Arch(platform) // TODO: could probably pass artifact.Goarch here + arch := linux.Arch(platform) artifacts := artifacts g.Go(func() error { defer func() { diff --git a/pipeline/snapcraft/snapcraft.go b/pipeline/snapcraft/snapcraft.go index 5b7f5616c..ae0bec32a 100644 --- a/pipeline/snapcraft/snapcraft.go +++ b/pipeline/snapcraft/snapcraft.go @@ -89,7 +89,7 @@ func (Pipe) Run(ctx *context.Context) error { artifact.ByType(artifact.Binary), ), ).GroupByPlatform() { - arch := linux.Arch(platform) // TODO: could use artifact.goarch here + arch := linux.Arch(platform) binaries := binaries g.Go(func() error { return create(ctx, arch, binaries)