Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
Signed-off-by: Yusuke Kato <kpango@vdaas.org>
  • Loading branch information
kpango authored Oct 4, 2024
1 parent d4e9829 commit 00ce43f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/net/grpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,7 @@ func (g *gRPCClient) StartConnectionMonitor(ctx context.Context) (<-chan error,
}
g.monitorRunning.Store(true)

<<<<<<< HEAD
addrs := make([]string, len(g.addrs))
for addr := range g.addrs {
addrs = append(addrs, addr)
}

=======
addrs := slices.Collect(maps.Keys(g.addrs))

Check warning on line 160 in internal/net/grpc/client.go

View check run for this annotation

Codecov / codecov/patch

internal/net/grpc/client.go#L160

Added line #L160 was not covered by tests
>>>>>>> 04d0a7386 (Refactor internal/net/grpc/client.go (#2674))
if g.dialer != nil {
g.dialer.StartDialerCache(ctx)
}
Expand Down

0 comments on commit 00ce43f

Please sign in to comment.