summaryrefslogtreecommitdiff
path: root/plugins/kv
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-30 13:41:18 +0300
committerValery Piashchynski <[email protected]>2021-04-30 13:41:18 +0300
commit5f451ffbba6b9758d61ba70ddd112a8e1570045a (patch)
treeaafd7e6fe00dd6b53ab768fcf45535384f4c9df7 /plugins/kv
parentc9770668debb203f121d8a5f08a3e3c19f4535ea (diff)
- Update CHANGELOG
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/kv')
-rw-r--r--plugins/kv/drivers/boltdb/plugin.go4
-rw-r--r--plugins/kv/drivers/memcached/plugin.go4
-rw-r--r--plugins/kv/drivers/memory/plugin.go3
-rw-r--r--plugins/kv/storage.go3
4 files changed, 4 insertions, 10 deletions
diff --git a/plugins/kv/drivers/boltdb/plugin.go b/plugins/kv/drivers/boltdb/plugin.go
index eba388c2..9b4cf9f7 100644
--- a/plugins/kv/drivers/boltdb/plugin.go
+++ b/plugins/kv/drivers/boltdb/plugin.go
@@ -65,6 +65,4 @@ func (s *Plugin) Name() string {
}
// Available interface implementation
-func (s *Plugin) Available() bool {
- return true
-}
+func (s *Plugin) Available() {}
diff --git a/plugins/kv/drivers/memcached/plugin.go b/plugins/kv/drivers/memcached/plugin.go
index c95a7f73..cde84f42 100644
--- a/plugins/kv/drivers/memcached/plugin.go
+++ b/plugins/kv/drivers/memcached/plugin.go
@@ -34,9 +34,7 @@ func (s *Plugin) Name() string {
}
// Available interface implementation
-func (s *Plugin) Available() bool {
- return true
-}
+func (s *Plugin) Available() {}
func (s *Plugin) Provide(key string) (kv.Storage, error) {
const op = errors.Op("boltdb_plugin_provide")
diff --git a/plugins/kv/drivers/memory/plugin.go b/plugins/kv/drivers/memory/plugin.go
index fd4ed15f..2be7caae 100644
--- a/plugins/kv/drivers/memory/plugin.go
+++ b/plugins/kv/drivers/memory/plugin.go
@@ -64,6 +64,5 @@ func (s *Plugin) Name() string {
}
// Available interface implementation
-func (s *Plugin) Available() bool {
- return true
+func (s *Plugin) Available() {
}
diff --git a/plugins/kv/storage.go b/plugins/kv/storage.go
index 2f1e0716..fe2fa10b 100644
--- a/plugins/kv/storage.go
+++ b/plugins/kv/storage.go
@@ -186,6 +186,5 @@ func (p *Plugin) Name() string {
}
// Available interface implementation
-func (p *Plugin) Available() bool {
- return true
+func (p *Plugin) Available() {
}