diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-05 15:27:10 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-05 15:27:10 -0700 |
| commit | 45a9d852d3d10bdaaf2a5358e4a4d823a7edbfcc (patch) | |
| tree | d122e72706f1d9130002798583ac81882974dd32 /weed/messaging/msgclient/publisher.go | |
| parent | 03c2f0350904bc2e69faf5f9a552092826df9ae3 (diff) | |
| download | seaweedfs-45a9d852d3d10bdaaf2a5358e4a4d823a7edbfcc.tar.xz seaweedfs-45a9d852d3d10bdaaf2a5358e4a4d823a7edbfcc.zip | |
go fmt
Diffstat (limited to 'weed/messaging/msgclient/publisher.go')
| -rw-r--r-- | weed/messaging/msgclient/publisher.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/messaging/msgclient/publisher.go b/weed/messaging/msgclient/publisher.go index b0fc5afbf..1aa483ff8 100644 --- a/weed/messaging/msgclient/publisher.go +++ b/weed/messaging/msgclient/publisher.go @@ -26,7 +26,7 @@ func (mc *MessagingClient) NewPublisher(publisherId, namespace, topic string) (* for i := 0; i < int(topicConfiguration.PartitionCount); i++ { tp := broker.TopicPartition{ Namespace: namespace, - Topic: topic, + Topic: topic, Partition: int32(i), } grpcClientConn, err := mc.findBroker(tp) |
