Revert "rename"

This reverts commit 35b5264ab7.
This commit is contained in:
chrislu
2023-10-12 20:28:11 -07:00
parent 1cac5d983d
commit de0b969b36
8 changed files with 555 additions and 513 deletions

View File

@@ -8,8 +8,8 @@ import (
"google.golang.org/grpc/status"
)
// ConnectToPubCoordinator receives connections from brokers and collects stats
func (broker *MessageQueueBroker) ConnectToPubCoordinator(stream mq_pb.SeaweedMessaging_ConnectToPubCoordinatorServer) error {
// 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")
}