Skip to content

Commit 2f55eb7

Browse files
author
pengjiang
committed
update
1 parent f77870e commit 2f55eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (b *builder) Build(url resolver.Target, conn resolver.ClientConn, opts reso
6969

7070

7171
// start
72-
cc := *constant.NewClientConfig(
72+
cc := &constant.NewClientConfig(
7373
constant.WithTimeoutMs(10*1000),
7474
constant.WithBeatInterval(2*1000),
7575
constant.WithNotLoadCacheAtStart(true),
@@ -113,7 +113,7 @@ func (b *builder) Build(url resolver.Target, conn resolver.ClientConn, opts reso
113113
ctx, cancel := context.WithCancel(context.Background())
114114
pipe := make(chan []string)
115115
tgt.GroupName = "prod"
116-
tgt.Clusters = "DEFAULT"
116+
117117

118118

119119
go cli.Subscribe(&vo.SubscribeParam{

0 commit comments

Comments
 (0)