From 46bfbee7f515f37f342602af420c194fa83894d2 Mon Sep 17 00:00:00 2001 From: rameshk5 Date: Thu, 26 Mar 2020 10:42:58 -0500 Subject: [PATCH 1/2] modified the platform.go to create the binary supporting the power server --- platform.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.go b/platform.go index 5a749e8..40b5a63 100644 --- a/platform.go +++ b/platform.go @@ -134,7 +134,7 @@ var ( func SupportedPlatforms(v string) []Platform { if strings.HasPrefix(v, "go1.0") { return Platforms_1_0 - } else if strings.HasPrefix(v, "go1.1") { + } else if strings.HaSuffix(v, "go1.1") { return Platforms_1_1 } else if strings.HasPrefix(v, "go1.3") { return Platforms_1_3 From 5df32bfbec2fa5002aa73061c61f5693f5243162 Mon Sep 17 00:00:00 2001 From: rameshk5 Date: Thu, 26 Mar 2020 10:48:43 -0500 Subject: [PATCH 2/2] suppeort for power architecture --- platform.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.go b/platform.go index 40b5a63..1a3ad41 100644 --- a/platform.go +++ b/platform.go @@ -134,7 +134,7 @@ var ( func SupportedPlatforms(v string) []Platform { if strings.HasPrefix(v, "go1.0") { return Platforms_1_0 - } else if strings.HaSuffix(v, "go1.1") { + } else if strings.HasSuffix(v, "go1.1") { return Platforms_1_1 } else if strings.HasPrefix(v, "go1.3") { return Platforms_1_3