aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_mq_topic_create.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_mq_topic_create.go')
-rw-r--r--weed/shell/command_mq_topic_create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_mq_topic_create.go b/weed/shell/command_mq_topic_create.go
index d1b1bdd23..7e1f5d65e 100644
--- a/weed/shell/command_mq_topic_create.go
+++ b/weed/shell/command_mq_topic_create.go
@@ -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,