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
-3
View File
@@ -33,8 +33,6 @@ type grpcClient struct {
shutdownChan chan bool
failCount int32
wg *sync.WaitGroup
}
type grpcClientConfig struct {
@@ -152,7 +150,6 @@ func newClient(masterHost string, masterPort int, identity string) (client *grpc
ctxCancel: cancel,
mutex: sync.RWMutex{},
},
wg: &sync.WaitGroup{},
}
return client
}