generated from networkservicemesh/cmd-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update go.mod and go.sum to latest version from networkservicemesh/sd…
…k@main PR link: networkservicemesh/sdk#1353 Commit: 97e00ec Author: toby cabot Date: 2022-09-14 19:33:40 -0400 Message: - Don't trace gRPC "Canceled" errors (#1353) We were getting a *lot* of log chaff at TRACE level during normal operation because gRPC returns a "context canceled" error periodically but it's not really an error for us because we immediately loop around again. This commit uses the gRPC status.Code() method to identify these non-errors. It also uses errors.Is() instead of == to compare error objects. This handles wrapped errors. https://pkg.go.dev/google.golang.org/grpc/status#Code https://github.com/golang/go/wiki/ErrorValueFAQ#how-should-i-change-my-error-handling-code-to-work-with-the-new-features Signed-off-by: Toby Cabot <toby@acnodal.io> Signed-off-by: Toby Cabot <toby@acnodal.io> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
- Loading branch information
NSMBot
committed
Sep 14, 2022
1 parent
0ab402a
commit 3074269
Showing
2 changed files
with
70 additions
and
1,123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.