docker/swarmkit

View on GitHub
protobuf/plugin/raftproxy/raftproxy.go

Summary

Maintainability
A
1 hr
Test Coverage

Method raftProxyGen.genClientServerStreamingMethod has 60 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (g *raftProxyGen) genClientServerStreamingMethod(s *descriptor.ServiceDescriptorProto, m *descriptor.MethodDescriptorProto) {
    streamType := s.GetName() + "_" + m.GetName() + "Server"

    g.genStreamWrapper(streamType)

Severity: Minor
Found in protobuf/plugin/raftproxy/raftproxy.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status