Skip to content

Commit

Permalink
fix(contrib/opensergo): fix index error
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper-Mars committed Apr 25, 2022
1 parent 259cd84 commit a55579f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/opensergo/opensergo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit a55579f

Please sign in to comment.