From 1a515881b2f7532460d7c3b431633136a13fe62a Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 29 May 2019 09:34:44 -0300 Subject: [PATCH] chore: added todo --- internal/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/http.go b/internal/http/http.go index b7851921c..885398811 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -84,7 +84,6 @@ func defaults(put *config.Put) { // CheckConfig validates a Put configuration returning a descriptive error when appropriate func CheckConfig(ctx *context.Context, put *config.Put, kind string) error { - if put.Target == "" { return misconfigured(kind, put, "missing target") } @@ -341,6 +340,7 @@ func resolveTargetTemplate(ctx *context.Context, put *config.Put, artifact artif } if put.Mode == ModeBinary { + // TODO: multiple archives here data.Os = replace(ctx.Config.Archive.Replacements, artifact.Goos) data.Arch = replace(ctx.Config.Archive.Replacements, artifact.Goarch) data.Arm = replace(ctx.Config.Archive.Replacements, artifact.Goarm)