mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-09-19 15:31:05 +02:00
return the lookup results
This commit is contained in:
parent
841fafd0a8
commit
d40225ecd2
|
@ -34,6 +34,7 @@ func (b *MessageQueueBroker) LookupTopicBrokers(ctx context.Context, request *mq
|
||||||
glog.V(0).Infof("lookup topic %s conf: %v", request.Topic, err)
|
glog.V(0).Infof("lookup topic %s conf: %v", request.Topic, err)
|
||||||
} else {
|
} else {
|
||||||
err = b.ensureTopicActiveAssignments(t, conf)
|
err = b.ensureTopicActiveAssignments(t, conf)
|
||||||
|
ret.BrokerPartitionAssignments = conf.BrokerPartitionAssignments
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret, err
|
return ret, err
|
||||||
|
|
Loading…
Reference in a new issue