Skip to content

Commit

Permalink
Add call to AllowMissingFileDescriptors in `lib/netext/grpcext/refl…
Browse files Browse the repository at this point in the history
…ect.go` (#3871)
  • Loading branch information
Lordnibbler authored Aug 21, 2024
1 parent c5dc773 commit 441f4d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/netext/grpcext/reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type reflectionClient struct {
// It is called in the connect function the first time the Client.Connect function is called.
func (rc *reflectionClient) Reflect(ctx context.Context) (*descriptorpb.FileDescriptorSet, error) {
client := grpcreflect.NewClientAuto(ctx, rc.Conn)
client.AllowMissingFileDescriptors()

services, err := client.ListServices()
if err != nil {
Expand Down

0 comments on commit 441f4d6

Please sign in to comment.