aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2020-04-24 20:10:22 +0000
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2020-04-24 20:12:44 +0000
commit8d2d1c91442bf52b35a23ae0f49badb58a0b56cd (patch)
tree15605a674e5f01571d0eb08506b952f554f07bae
parent7e20d29b2d82f4ebbe347b7ed39a1c5d51752314 (diff)
Fix missing key error while getting resource inst
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I79e9090769f9ef2ce979d5f1a3b5264171164ae0
-rw-r--r--src/orchestrator/pkg/appcontext/appcontext.go2
1 files changed, 1 insertions, 1 deletions
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 {