diff options
Diffstat (limited to 'vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/fieldextractor.go')
-rw-r--r-- | vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/fieldextractor.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/fieldextractor.go b/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/fieldextractor.go index 549ff48c8..1d7c1a7fa 100644 --- a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/fieldextractor.go +++ b/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/fieldextractor.go @@ -32,8 +32,8 @@ func CodeGenRequestFieldExtractor(fullMethod string, req interface{}) map[string return nil } -// TagBasedRequestFieldExtractor is a function that relies on Go struct tags to export log fields from requests. -// These are usually coming from a protoc-plugin, such as Gogo protobuf. +// TagedRequestFiledExtractor is a function that relies on Go struct tags to export log fields from requests. +// These are usualy coming from a protoc-plugin, such as Gogo protobuf. // // message Metadata { // repeated string tags = 1 [ (gogoproto.moretags) = "log_field:\"meta_tags\"" ]; |