summaryrefslogtreecommitdiff
path: root/plugins/kv/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kv/drivers')
-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
3 files changed, 3 insertions, 8 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() {
}