From 26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 19 Jan 2021 16:47:15 +0300 Subject: Uniform all errors operations Add new ExecTTL event Update tests Signed-off-by: Valery Piashchynski --- plugins/kv/boltdb/plugin_unit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/kv/boltdb/plugin_unit_test.go') diff --git a/plugins/kv/boltdb/plugin_unit_test.go b/plugins/kv/boltdb/plugin_unit_test.go index fa12db8c..890736f7 100644 --- a/plugins/kv/boltdb/plugin_unit_test.go +++ b/plugins/kv/boltdb/plugin_unit_test.go @@ -22,7 +22,7 @@ import ( // options *bolt.Options -- boltDB options, such as timeouts, noGrows options and other // bucket string -- name of the bucket to use, should be UTF-8 func newBoltClient(path string, perm os.FileMode, options *bolt.Options, bucket string, ttl time.Duration) (kv.Storage, error) { - const op = errors.Op("newBoltClient") + const op = errors.Op("boltdb_plugin_new_bolt_client") db, err := bolt.Open(path, perm, options) if err != nil { return nil, errors.E(op, err) -- cgit v1.2.3