From fdcb7fbb053d4857b93fd27b51d7c62ba62ca39d Mon Sep 17 00:00:00 2001 From: Yan Titarenko Date: Tue, 23 Mar 2021 20:21:29 +0200 Subject: [PATCH] Diversifying the reflection API usage, for ServiceDeployer Consider inspecting the following discussions: https://groups.google.com/g/golang-nuts/c/S2gBW3BV4QU/m/I4gWtrPxBwAJ https://github.com/apache/openwhisk-wskdeploy/issues/1130 --- deployers/servicedeployer.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deployers/servicedeployer.go b/deployers/servicedeployer.go index 613bbe8a2..026f311c6 100644 --- a/deployers/servicedeployer.go +++ b/deployers/servicedeployer.go @@ -20,15 +20,17 @@ package deployers import ( "encoding/json" "fmt" - "github.com/apache/openwhisk-wskdeploy/webaction" + "net/http" "path" - "reflect" "strconv" "strings" "sync" "time" + "github.com/apache/openwhisk-wskdeploy/webaction" + reflect "github.com/goccy/go-reflect" + "github.com/apache/openwhisk-client-go/whisk" "github.com/apache/openwhisk-wskdeploy/dependencies" "github.com/apache/openwhisk-wskdeploy/parsers"