From 5af0bc138fba2e1a8fc3cef3cdc4b6d6b192ccfc Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Fri, 25 Sep 2020 08:51:18 -0700 Subject: [PATCH] Print more complete platform information. (#200) Fixes: https://github.com/google/ko/issues/199 --- pkg/build/gobuild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/build/gobuild.go b/pkg/build/gobuild.go index a7751a5bb1..bcabeeb6e7 100644 --- a/pkg/build/gobuild.go +++ b/pkg/build/gobuild.go @@ -237,7 +237,7 @@ func build(ctx context.Context, ip string, platform v1.Platform, disableOptimiza cmd.Stderr = &output cmd.Stdout = &output - log.Printf("Building %s for %s", ip, platform.Architecture) + log.Printf("Building %s for %s/%s", ip, platform.OS, platform.Architecture) if err := cmd.Run(); err != nil { os.RemoveAll(tmpDir) log.Printf("Unexpected error running \"go build\": %v\n%v", err, output.String())