rename function

This commit is contained in:
chrislu
2023-09-26 15:17:33 -07:00
parent 17a0f3b0e0
commit 9d589b48e6
13 changed files with 387 additions and 387 deletions

View File

@@ -49,7 +49,7 @@ func (c *commandMqTopicCreate) Do(args []string, commandEnv *CommandEnv, writer
// create topic
return pb.WithBrokerGrpcClient(false, brokerBalancer, commandEnv.option.GrpcDialOption, func(client mq_pb.SeaweedMessagingClient) error {
resp, err := client.CreateTopic(context.Background(), &mq_pb.CreateTopicRequest{
resp, err := client.ConfigureTopic(context.Background(), &mq_pb.ConfigureTopicRequest{
Topic: &mq_pb.Topic{
Namespace: *namespace,
Name: *topicName,