mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-30 10:10:44 +02:00
[fix] etcd config source prefix issue (#2389)
This commit is contained in:
parent
d9a6faeb7a
commit
21bac54ad2
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user