[VOL-3801] remove consul support
Bump up voltha-lib-go version to remove consul
voltha-protos version is updated automatically by mod-update
Change-Id: Ifad40dc54fb03b1e40ea9f5fe46344dacb2527ee
diff --git a/pkg/mocks/mockKVClient.go b/pkg/mocks/mockKVClient.go
index 290f191..164e896 100644
--- a/pkg/mocks/mockKVClient.go
+++ b/pkg/mocks/mockKVClient.go
@@ -259,6 +259,14 @@
return nil
}
+// DeleteWithPrefix mock function implementation for KVClient
+func (kvclient *MockKVClient) DeleteWithPrefix(ctx context.Context, prefixKey string) error {
+ if prefixKey == "" {
+ return errors.New("key didn't find")
+ }
+ return nil
+}
+
// Reserve mock function implementation for KVClient
func (kvclient *MockKVClient) Reserve(ctx context.Context, key string, value interface{}, ttl time.Duration) (interface{}, error) {
if key != "" {