mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-06 05:54:28 -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
|
@ -380,7 +380,7 @@ func (v *constellationVerifier) Verify(
|
|||
ctx context.Context, endpoint string, req *verifyproto.GetAttestationRequest, validator atls.Validator,
|
||||
) ([]byte, error) {
|
||||
v.log.Debug(fmt.Sprintf("Dialing endpoint: %q", endpoint))
|
||||
conn, err := v.dialer.DialInsecure(ctx, endpoint)
|
||||
conn, err := v.dialer.DialInsecure(endpoint)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("dialing init server: %w", err)
|
||||
}
|
||||
|
@ -412,7 +412,7 @@ type verifyClient interface {
|
|||
}
|
||||
|
||||
type grpcInsecureDialer interface {
|
||||
DialInsecure(ctx context.Context, endpoint string) (conn *grpc.ClientConn, err error)
|
||||
DialInsecure(endpoint string) (conn *grpc.ClientConn, err error)
|
||||
}
|
||||
|
||||
// writeIndentfln writes a formatted string to the builder with the given indentation level
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue