Skip to content

Commit

Permalink
Update reflect.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordnibbler authored and Ben Radler committed Jul 31, 2024
1 parent dfd48f8 commit ecfe844
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 ecfe844

Please sign in to comment.