diff options
author | Valery Piashchynski <[email protected]> | 2021-05-20 22:46:19 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-20 22:46:19 +0300 |
commit | d2e9d8320857f5768c54843a43ad16f59d6a3e8f (patch) | |
tree | f6f46e688b6005b2b0ea10c7238e925c0b58f25a /plugins/kv | |
parent | f85172106b4723b705aa75c3c310e8cebd050a8d (diff) |
- Update linters
- Implement base interfaces
- Implement BST search algo for the in-memory storage
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/kv')
-rw-r--r-- | plugins/kv/storage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kv/storage.go b/plugins/kv/storage.go index 319915c5..9a609735 100644 --- a/plugins/kv/storage.go +++ b/plugins/kv/storage.go @@ -92,7 +92,7 @@ func (p *Plugin) Serve() chan error { // config key for the particular sub-driver kv.memcached configKey := fmt.Sprintf("%s.%s", PluginName, k) - // at this point we know, that driver field present in the cofiguration + // at this point we know, that driver field present in the configuration switch v.(map[string]interface{})[driver] { case memcached: if _, ok := p.drivers[memcached]; !ok { |