Update main.go (#1627)

pull/1636/head
lcsin 3 years ago committed by GitHub
parent 3607ce1b92
commit 3231b35420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/registry/nacos/client/main.go

@ -40,7 +40,7 @@ func main() {
conn, err := grpc.DialInsecure( conn, err := grpc.DialInsecure(
context.Background(), context.Background(),
grpc.WithEndpoint("discovery:///helloworld"), grpc.WithEndpoint("discovery:///helloworld.grpc"),
grpc.WithDiscovery(nacos.New(cli)), grpc.WithDiscovery(nacos.New(cli)),
) )
if err != nil { if err != nil {

Loading…
Cancel
Save