asteris-llc/converge

View on GitHub
rpc/grapher.go

Summary

Maintainability
A
40 mins
Test Coverage

Method grapher.Graph has 6 return statements (exceeds 4 allowed).
Open

func (g *grapher) Graph(in *pb.LoadRequest, stream pb.Grapher_GraphServer) error {
    logger, ctx := setIDLogger(stream.Context())
    logger = logger.WithField("function", "grapher.Graph")

    loaded, err := in.Load(ctx)
Severity: Major
Found in rpc/grapher.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status