summaryrefslogtreecommitdiff
path: root/plugins/kv/drivers/boltdb
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-30 16:30:54 +0300
committerGitHub <[email protected]>2021-04-30 16:30:54 +0300
commit009b7009885d8a15e6fa6c7e78436087b2f20129 (patch)
tree6bab1f99aa83c794060ab4c913d5ff62fef6882d /plugins/kv/drivers/boltdb
parent684864530618f4b82399e5f1a89d5967c6ca9bcb (diff)
parent556477ca9df3fa2e5939057861314eabe5ce30ca (diff)
#652 feat(informer): list of active plugins in runtime
#652 feat(informer): list of active plugins in runtime
Diffstat (limited to 'plugins/kv/drivers/boltdb')
-rw-r--r--plugins/kv/drivers/boltdb/driver.go2
-rw-r--r--plugins/kv/drivers/boltdb/plugin.go3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/kv/drivers/boltdb/driver.go b/plugins/kv/drivers/boltdb/driver.go
index b596d4c3..2e2df527 100644
--- a/plugins/kv/drivers/boltdb/driver.go
+++ b/plugins/kv/drivers/boltdb/driver.go
@@ -401,8 +401,6 @@ func (d *Driver) startGCLoop() { //nolint:gocognit
})
if err != nil {
d.log.Error("error during the gc phase of update", "error", err)
- // todo this error is ignored, it means, that timer still be active
- // to prevent this, we need to invoke t.Stop()
return false
}
}
diff --git a/plugins/kv/drivers/boltdb/plugin.go b/plugins/kv/drivers/boltdb/plugin.go
index 9d1e0dba..9b4cf9f7 100644
--- a/plugins/kv/drivers/boltdb/plugin.go
+++ b/plugins/kv/drivers/boltdb/plugin.go
@@ -63,3 +63,6 @@ func (s *Plugin) Provide(key string) (kv.Storage, error) {
func (s *Plugin) Name() string {
return PluginName
}
+
+// Available interface implementation
+func (s *Plugin) Available() {}