rename parameter

This commit is contained in:
chrislu
2024-04-12 22:33:00 -07:00
parent 6f80dbdfe5
commit 5324e4288a
3 changed files with 9 additions and 11 deletions

View File

@@ -235,7 +235,7 @@ func (p *TopicPublisher) doConfigureTopic() (err error) {
func(client mq_pb.SeaweedMessagingClient) error {
_, err := client.ConfigureTopic(context.Background(), &mq_pb.ConfigureTopicRequest{
Topic: p.config.Topic.ToPbTopic(),
PartitionCount: p.config.CreateTopicPartitionCount,
PartitionCount: p.config.PartitionCount,
})
return err
})