This commit is contained in:
chrislu
2023-09-24 23:36:43 -07:00
parent c7e05e4e71
commit 23f334dd13
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import (
"google.golang.org/grpc/status"
)
// BrokerConnectToBalancer receives connections from brokers and collects stats
// ConnectToBalancer receives connections from brokers and collects stats
func (broker *MessageQueueBroker) ConnectToBalancer(stream mq_pb.SeaweedMessaging_ConnectToBalancerServer) error {
if !broker.lockAsBalancer.IsLocked() {
return status.Errorf(codes.Unavailable, "not current broker balancer")