Skip to content

Commit

Permalink
be lenient when possible if server cannot furnish all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jhump committed Apr 9, 2024
1 parent d7469ec commit 69998f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/grpcurl/grpcurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ func main() {
refCtx := metadata.NewOutgoingContext(ctx, md)
cc = dial()
refClient = grpcreflect.NewClientAuto(refCtx, cc)
refClient.AllowMissingFileDescriptors()
reflSource := grpcurl.DescriptorSourceFromServer(ctx, refClient)
if fileSource != nil {
descSource = compositeSource{reflSource, fileSource}
Expand Down

0 comments on commit 69998f4

Please sign in to comment.