From 8d2d1c91442bf52b35a23ae0f49badb58a0b56cd Mon Sep 17 00:00:00 2001 From: Manjunath Ranganathaiah Date: Fri, 24 Apr 2020 20:10:22 +0000 Subject: Fix missing key error while getting resource inst Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah Change-Id: I79e9090769f9ef2ce979d5f1a3b5264171164ae0 --- src/orchestrator/pkg/appcontext/appcontext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit 1.2.3-korg