aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/module/compositeapp.go
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2020-03-20 12:34:18 -0700
committerRitu Sood <Ritu.Sood@intel.com>2020-03-23 22:41:05 +0000
commita4f31feda88ba8c5ac9e1cfb1ee78ef536475647 (patch)
treed2df9b5ae7439d8777b6981a20436aa17545c820 /src/orchestrator/pkg/module/compositeapp.go
parent529906640a6844dd371de37631e3948d328a390b (diff)
Sync up Key json attribute names
Sync up names used for the Key structures and tagMeta attribute names. This should ensure that the mongo db routines will query properly. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I05da9de92a22cb73d60a7349c3cc5bd4cedd99a5
Diffstat (limited to 'src/orchestrator/pkg/module/compositeapp.go')
-rw-r--r--src/orchestrator/pkg/module/compositeapp.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/orchestrator/pkg/module/compositeapp.go b/src/orchestrator/pkg/module/compositeapp.go
index 59fbbab5..70502367 100644
--- a/src/orchestrator/pkg/module/compositeapp.go
+++ b/src/orchestrator/pkg/module/compositeapp.go
@@ -45,8 +45,8 @@ type CompositeAppSpec struct {
// CompositeAppKey is the key structure that is used in the database
type CompositeAppKey struct {
- CompositeAppName string `json:"compositeappname"`
- Version string `json:"version"`
+ CompositeAppName string `json:"compositeapp"`
+ Version string `json:"compositeappversion"`
Project string `json:"project"`
}
@@ -79,7 +79,7 @@ type CompositeAppClient struct {
func NewCompositeAppClient() *CompositeAppClient {
return &CompositeAppClient{
storeName: "orchestrator",
- tagMeta: "compositeapp",
+ tagMeta: "compositeappmetadata",
}
}