summaryrefslogtreecommitdiff
path: root/plugins/kv/drivers/memcached/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-30 11:44:07 +0300
committerValery Piashchynski <[email protected]>2021-04-30 11:44:07 +0300
commit50aa751dcefc0ab0e96594a5f111ead316a34a70 (patch)
tree5cf1fd278e01e1bd23a3f39d408ceb49741c448c /plugins/kv/drivers/memcached/plugin.go
parent65015a3d3f4b387675b5ca005b8831a6be9e15aa (diff)
- Update Lister implementation
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/kv/drivers/memcached/plugin.go')
-rw-r--r--plugins/kv/drivers/memcached/plugin.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/kv/drivers/memcached/plugin.go b/plugins/kv/drivers/memcached/plugin.go
index af59e91b..c95a7f73 100644
--- a/plugins/kv/drivers/memcached/plugin.go
+++ b/plugins/kv/drivers/memcached/plugin.go
@@ -33,6 +33,11 @@ func (s *Plugin) Name() string {
return PluginName
}
+// Available interface implementation
+func (s *Plugin) Available() bool {
+ return true
+}
+
func (s *Plugin) Provide(key string) (kv.Storage, error) {
const op = errors.Op("boltdb_plugin_provide")
st, err := NewMemcachedDriver(s.log, key, s.cfgPlugin)