Browse Source

lint

pull/5637/head
chrislu 12 months ago
parent
commit
45994641e9
  1. 2
      weed/mq/topic/local_manager.go

2
weed/mq/topic/local_manager.go

@ -34,7 +34,7 @@ func (manager *LocalTopicManager) AddTopicPartition(topic Topic, localPartition
localTopic.Partitions = append(localTopic.Partitions, localPartition)
}
// GetTopic gets a topic from the local topic manager
// GetTopicPartition gets a topic from the local topic manager
func (manager *LocalTopicManager) GetTopicPartition(topic Topic, partition Partition) *LocalPartition {
localTopic, ok := manager.topics.Get(topic.String())
if !ok {

Loading…
Cancel
Save