Skip to content

Commit

Permalink
Update server/grpc/gogoreflection/fix_registration.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Zaremba <[email protected]>
  • Loading branch information
fdymylja and robert-zaremba authored Mar 22, 2021
1 parent b26b502 commit def738b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/grpc/gogoreflection/fix_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var importsToFix = map[string]string{
func fixRegistration(registeredAs, importedAs string) error {
raw := gogoproto.FileDescriptor(registeredAs)
if len(raw) == 0 {
return fmt.Errorf("file descriptor not found: %s", registeredAs)
return fmt.Errorf("file descriptor not found for %s", registeredAs)
}

fd, err := decodeFileDesc(raw)
Expand Down

0 comments on commit def738b

Please sign in to comment.