mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-05-22 19:51:44 +03:00
grpc connection management no longer yields same errors from dial; also fix fmt issue in error message
This commit is contained in:
@@ -685,7 +685,7 @@ func fetchAllExtensions(source DescriptorSource, ext *dynamic.ExtensionRegistry,
|
||||
fds, err := source.AllExtensionsForType(msgTypeName)
|
||||
for _, fd := range fds {
|
||||
if err = ext.AddExtension(fd); err != nil {
|
||||
return fmt.Errorf("could not register extension %d of type %s: %v", fd.GetFullyQualifiedName(), msgTypeName, err)
|
||||
return fmt.Errorf("could not register extension %s of type %s: %v", fd.GetFullyQualifiedName(), msgTypeName, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user