fix: remove unnecessary content

This commit is contained in:
徐聪
2022-07-25 21:29:59 +08:00
parent 5b085be6bc
commit b4409ad303
4 changed files with 14 additions and 28 deletions
+1 -2
View File
@@ -133,13 +133,11 @@ type grpcServer struct {
masterHost string
masterPort int
server *grpc.Server
secure bool
clients *sync.Map
fromWorker chan *genericMessage
disconnectedChan chan bool
shutdownChan chan bool
wg *sync.WaitGroup
}
var (
@@ -148,6 +146,7 @@ var (
)
func logger(format string, a ...interface{}) {
// FIXME: support server-side and client-side logging to files
log.Info().Msg(fmt.Sprintf(format, a...))
}