-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COCOS-369 - Enable compiling gRPC clients without cGo #372
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #372 +/- ##
==========================================
- Coverage 59.57% 59.43% -0.15%
==========================================
Files 54 55 +1
Lines 4574 4573 -1
==========================================
- Hits 2725 2718 -7
- Misses 1564 1569 +5
- Partials 285 286 +1 ☔ View full report in Codecov by Sentry. |
Please resolve conflicts. |
Signed-off-by: Sammy Oina <[email protected]>
Signed-off-by: Sammy Oina <[email protected]>
… pborman/uuid v1.2.1 Signed-off-by: Sammy Oina <[email protected]>
…ls functionality, and update related configurations Signed-off-by: Sammy Oina <[email protected]>
…tional methods Signed-off-by: Sammy Oina <[email protected]>
Signed-off-by: Sammy Oina <[email protected]>
@@ -239,52 +215,3 @@ func ReadAttestationPolicy(manifestPath string, attestationConfiguration *check. | |||
|
|||
return ErrAttestationPolicyMissing | |||
} | |||
|
|||
func CustomDialer(ctx context.Context, addr string) (net.Conn, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not needed anymore, i.e. it was not necessary in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need the custom dialer since we add tls extensions and standard go library does not allow for this
// Copyright (c) Ultraviolet | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
//go:build !cgo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. :)
What type of PR is this?
What does this do?
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
Did you document any new/modified feature?
Notes