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

status-code-override
Casper-Mars 3 years ago committed by chenzhihui
parent 65e5d680b1
commit 2d5da155fd
  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