mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-19 04:24:28 +02:00
rename function
This commit is contained in:
1 parent
17a0f3b0e0
commit
9d589b48e6
13 files changed
+387
-387
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user