From b2f51225bc78212682fd087a4ef8a67c51a94188 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Fri, 15 Oct 2021 12:11:44 +0200 Subject: Expose Update Handlers Expose Update Handlers for Definition, Profile and Config Tmpl Issue-ID: MULTICLOUD-1410 Signed-off-by: Lukasz Rajewski Change-Id: Ibe6fe05458f2af28f3e1ca14a54492a4bae19362 --- src/k8splugin/api/profilehandler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/k8splugin/api/profilehandler_test.go') 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 } -- cgit 1.2.3-korg