aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-03-29 09:33:43 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-03-29 09:33:50 -0700
commit5f5aabfbaff227c3c134c27ecbd7ecd347f74c09 (patch)
tree653d430a9cf46b494a9f510469e396fe7e1aa52d /src
parent11fc60312027cf73eb20a78b178b3def80dc0bad (diff)
Fix merge issue
The TestUpdate method was updated properly with the merge on to master. This fixes that issue. Issue-ID: MULTICLOUD-553 Change-Id: I97c95b628fade37304590de59bb4bb6faaeb4450 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/k8splugin/internal/db/mongo_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/k8splugin/internal/db/mongo_test.go b/src/k8splugin/internal/db/mongo_test.go
index 3a7e4251..71aaf86e 100644
--- a/src/k8splugin/internal/db/mongo_test.go
+++ b/src/k8splugin/internal/db/mongo_test.go
@@ -155,7 +155,7 @@ func TestUpdate(t *testing.T) {
label: "Successfull update of entry",
input: map[string]interface{}{
"coll": "collname",
- "key": mockKey{Key: "keyvalue"},
+ "key": MockKey{Key: "keyvalue"},
"tag": "metadata",
"data": "Data In String Format",
},
@@ -184,7 +184,7 @@ func TestUpdate(t *testing.T) {
label: "Entry does not exist",
input: map[string]interface{}{
"coll": "collname",
- "key": mockKey{Key: "keyvalue"},
+ "key": MockKey{Key: "keyvalue"},
"tag": "tagName",
"data": "Data In String Format",
},