From 21bac54ad2976be4390e67110689666c8d904aa1 Mon Sep 17 00:00:00 2001 From: Johnson C Date: Fri, 17 Dec 2021 11:43:55 +0800 Subject: [PATCH] [fix] etcd config source prefix issue (#2389) --- plugins/config/source/etcd/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/config/source/etcd/etcd.go b/plugins/config/source/etcd/etcd.go index 3366013d..0aaf2c5d 100644 --- a/plugins/config/source/etcd/etcd.go +++ b/plugins/config/source/etcd/etcd.go @@ -29,7 +29,7 @@ func (c *etcd) Read() (*source.ChangeSet, error) { return nil, c.cerr } - rsp, err := c.client.Get(context.Background(), c.prefix, clientv3.WithPrefix()) + rsp, err := c.client.Get(context.Background(), c.prefix) if err != nil { return nil, err }