mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-14 07:48:41 +01:00
lint
This commit is contained in:
1 parent
70a011a224
commit
45994641e9
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user