be lenient when possible if server cannot furnish all dependencies
This commit is contained in:
parent
d7469ece31
commit
69998f45bd
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue