From: Manjunath Ranganathaiah Date: Fri, 24 Apr 2020 20:10:22 +0000 (+0000) Subject: Fix missing key error while getting resource inst X-Git-Tag: 0.6.0~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8d2d1c91442bf52b35a23ae0f49badb58a0b56cd;p=multicloud%2Fk8s.git Fix missing key error while getting resource inst Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah Change-Id: I79e9090769f9ef2ce979d5f1a3b5264171164ae0 --- diff --git a/src/orchestrator/pkg/appcontext/appcontext.go b/src/orchestrator/pkg/appcontext/appcontext.go index 17afda9e..d92b1d11 100644 --- a/src/orchestrator/pkg/appcontext/appcontext.go +++ b/src/orchestrator/pkg/appcontext/appcontext.go @@ -298,7 +298,7 @@ func (ac *AppContext) GetResourceInstruction(appname string, clustername string, if err != nil { return nil, err } - s := fmt.Sprintf("%v", rh) + "app/" + appname + "/cluster/" + clustername + "/resource/instruction/" + insttype + s := fmt.Sprintf("%v", rh) + "app/" + appname + "/cluster/" + clustername + "/resource/instruction/" + insttype + "/" var v string err = ac.rtc.RtcGetValue(s, &v) if err != nil {