diff options
Diffstat (limited to 'plugins/kv')
-rw-r--r-- | plugins/kv/drivers/memcached/config.go | 2 | ||||
-rw-r--r-- | plugins/kv/plugin.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/kv/drivers/memcached/config.go b/plugins/kv/drivers/memcached/config.go index 7aad53b6..6d413790 100644 --- a/plugins/kv/drivers/memcached/config.go +++ b/plugins/kv/drivers/memcached/config.go @@ -7,6 +7,6 @@ type Config struct { func (s *Config) InitDefaults() { if s.Addr == nil { - s.Addr = []string{"localhost:11211"} // default url for memcached + s.Addr = []string{"127.0.0.1:11211"} // default url for memcached } } diff --git a/plugins/kv/plugin.go b/plugins/kv/plugin.go index e9ea25df..53fade97 100644 --- a/plugins/kv/plugin.go +++ b/plugins/kv/plugin.go @@ -80,7 +80,7 @@ func (p *Plugin) Serve() chan error { //nolint:gocognit memcached: driver: memcached - addr: [ "localhost:11211" ] + addr: [ "127.0.0.1:11211" ] For this config we should have 3 constructors: memory, boltdb and memcached but 4 KVs: default, boltdb-south, boltdb-north and memcached |