Skip to content

Commit e571d6f

Browse files
committed
lsat: clarify non-usage of invalid status code
1 parent 1536ce4 commit e571d6f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lsat/client_interceptor.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ const (
2626
// server expects a payment.
2727
GRPCErrCode = codes.Internal
2828

29-
// GRPCErrCodeNew is the new error code we receive for a "402 payment
30-
// required" error since google.golang.org/grpc v1.41.0.
29+
// GRPCErrCodeNew is the new error code we received for a "402 payment
30+
// required" error with version google.golang.org/grpc v1.41.0. This
31+
// error should not really be returned by any aperture instance since
32+
// we never deployed any version with google.golang.org/grpc v1.41.0 in
33+
// the wild as there were other issues with it as well. So this is just
34+
// here for completeness and shouldn't be used.
3135
GRPCErrCodeNew = codes.Unknown
3236

3337
// GRPCErrMessage is the error message we receive from a gRPC call in

0 commit comments

Comments
 (0)