mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 08:25:02 +08:00
fix compilation
This commit is contained in:
@@ -63,13 +63,8 @@ func (sub *TopicSubscriber) doKeepConnectedToSubCoordinator() {
|
|||||||
glog.V(0).Infof("subscriber %s receive: %v", sub.ContentConfig.Topic, err)
|
glog.V(0).Infof("subscriber %s receive: %v", sub.ContentConfig.Topic, err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
assignment := resp.GetAssignment()
|
sub.brokerPartitionAssignmentChan <- resp
|
||||||
if assignment != nil {
|
glog.V(0).Infof("Received assignment: %+v", resp)
|
||||||
glog.V(0).Infof("subscriber %s receive assignment: %v", sub.ContentConfig.Topic, assignment)
|
|
||||||
for _, assignedPartition := range assignment.PartitionAssignments {
|
|
||||||
sub.brokerPartitionAssignmentChan <- assignedPartition
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user