aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api/profilehandler_test.go
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-15 13:58:21 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-15 13:58:21 +0000
commit0ea71e9b830e6d1ed60b3dc6312cd748b24ce739 (patch)
treeabbc4b0a50d0dce9b31c1628d6eb9a3e6d099580 /src/k8splugin/api/profilehandler_test.go
parent206e9ecc81c4eec81a0471b4a24f3ae206bfe744 (diff)
parentb2f51225bc78212682fd087a4ef8a67c51a94188 (diff)
Merge "Expose Update Handlers"
Diffstat (limited to 'src/k8splugin/api/profilehandler_test.go')
-rw-r--r--src/k8splugin/api/profilehandler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/api/profilehandler_test.go b/src/k8splugin/api/profilehandler_test.go
index 32d0061f..181b775b 100644
--- a/src/k8splugin/api/profilehandler_test.go
+++ b/src/k8splugin/api/profilehandler_test.go
@@ -42,7 +42,7 @@ type mockRBProfile struct {
Err error
}
-func (m *mockRBProfile) Create(inp rb.Profile) (rb.Profile, error) {
+func (m *mockRBProfile) CreateOrUpdate(inp rb.Profile, update bool) (rb.Profile, error) {
if m.Err != nil {
return rb.Profile{}, m.Err
}