fix(contrib/opensergo): fix index error (#1951)

pull/1954/head
Casper-Mars 3 years ago committed by GitHub
parent 259cd84653
commit d4e1942480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contrib/opensergo/opensergo.go

@ -116,7 +116,7 @@ func (s *OpenSergo) listServiceDescriptors() (services []*v1.ServiceDescriptor,
sd = fd.Services().Get(i)
)
for j := 0; j < sd.Methods().Len(); j++ {
md := sd.Methods().Get(i)
md := sd.Methods().Get(j)
mName := string(md.Name())
inputType := string(md.Input().FullName())
outputType := string(md.Output().FullName())

Loading…
Cancel
Save