kubenetworks/kubevpn

View on GitHub
pkg/daemon/action/reset.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Server.Reset has 5 return statements (exceeds 4 allowed).
Open

func (svr *Server) Reset(req *rpc.ResetRequest, resp rpc.Daemon_ResetServer) error {
    defer func() {
        util.InitLoggerForServer(true)
        log.SetOutput(svr.LogFile)
        config.Debug = false
Severity: Major
Found in pkg/daemon/action/reset.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status