From 11c4cfef14ddf0e7003f6342612760a9c531e79d Mon Sep 17 00:00:00 2001 From: Yan Titarenko Date: Tue, 23 Mar 2021 20:44:27 +0200 Subject: [PATCH] Diversifying the reflection API, for environment.go https://groups.google.com/g/golang-nuts/c/S2gBW3BV4QU/m/I4gWtrPxBwAJ https://github.com/apache/openwhisk-wskdeploy/issues/1130 --- wskenv/environment.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wskenv/environment.go b/wskenv/environment.go index 99ad198ce..4dc344b4e 100644 --- a/wskenv/environment.go +++ b/wskenv/environment.go @@ -19,13 +19,14 @@ package wskenv import ( "os" - "reflect" "strings" /** Fixes #797 "github.com/apache/openwhisk-wskdeploy/wski18n" "github.com/apache/openwhisk-wskdeploy/wskprint" **/) + reflect "github.com/goccy/go-reflect" + // Test if a string func isValidEnvironmentVar(value string) bool {