1
0
mirror of https://github.com/ko-build/ko.git synced 2025-11-06 09:19:12 +02:00

Use GOOS/GOARCH from base image (#77)

This commit is contained in:
jonjohnsonjr
2019-08-19 10:02:17 -07:00
committed by GitHub
parent 96455023a3
commit 3a17dee60a
2 changed files with 24 additions and 12 deletions

View File

@@ -102,7 +102,7 @@ func TestGoBuildIsSupportedRefWithModules(t *testing.T) {
}
// A helper method we use to substitute for the default "build" method.
func writeTempFile(s string, _ bool) (string, error) {
func writeTempFile(s string, _ v1.Platform, _ bool) (string, error) {
tmpDir, err := ioutil.TempDir("", "ko")
if err != nil {
return "", err