pkg/daemon/action/reset.go
Method Server.Reset
has 5 return statements (exceeds 4 allowed). Open
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