mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-07 06:22:17 -04:00
deps: update Go dependencies (#3185)
* deps: update Go dependencies * deps: tidy all modules * Replace deprecated `grpc.DialContext` with `grpc.NewClient` --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
bd80ab89cb
commit
e71819eb62
30 changed files with 392 additions and 389 deletions
|
@ -203,8 +203,7 @@ type closeAndWait func()
|
|||
|
||||
// newDebugdClient creates a new gRPC client for the debugd service and logs the connection state changes.
|
||||
func newDebugdClient(ctx context.Context, ip string, log *slog.Logger) (pb.DebugdClient, closeAndWait, error) {
|
||||
conn, err := grpc.DialContext(
|
||||
ctx,
|
||||
conn, err := grpc.NewClient(
|
||||
net.JoinHostPort(ip, strconv.Itoa(constants.DebugdPort)),
|
||||
grpc.WithTransportCredentials(insecure.NewCredentials()),
|
||||
logger.GetClientUnaryInterceptor(log),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue