Skip to content

Commit 21bac54

Browse files
authored
[fix] etcd config source prefix issue (#2389)
1 parent d9a6fae commit 21bac54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/config/source/etcd/etcd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (c *etcd) Read() (*source.ChangeSet, error) {
2929
return nil, c.cerr
3030
}
3131

32-
rsp, err := c.client.Get(context.Background(), c.prefix, clientv3.WithPrefix())
32+
rsp, err := c.client.Get(context.Background(), c.prefix)
3333
if err != nil {
3434
return nil, err
3535
}

0 commit comments

Comments
 (0)