File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ ## v3.34.3
2+ * Added missing options from topicservice
3+
14## v3.34.2
25* Added some description to error message from table pool get
36* Moved implementation ` sugar.GenerateDeclareSection ` to ` internal/table `
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ func (c *Consumer) FromRaw(raw *rawtopic.Consumer) {
7171
7272 c .SupportedCodecs = make ([]Codec , len (raw .SupportedCodecs ))
7373 for index , codec := range raw .SupportedCodecs {
74- c .SupportedCodecs [index ] = codec
74+ c .SupportedCodecs [index ] = Codec ( codec )
7575 }
7676
77- if ! raw .ReadFrom .IsZero () {
77+ if raw .ReadFrom .HasValue {
7878 c .ReadFrom = raw .ReadFrom .Value
7979 }
8080}
@@ -130,7 +130,7 @@ func (d *TopicDescription) FromRaw(raw *rawtopic.DescribeTopicResult) {
130130 d .PartitionSettings .FromRaw (& raw .PartitioningSettings )
131131
132132 d .Consumers = make ([]Consumer , len (raw .Consumers ))
133- for i := 0 ; i < raw .Consumers ; i ++ {
133+ for i := 0 ; i < len ( raw .Consumers ) ; i ++ {
134134 d .Consumers [i ].FromRaw (& raw .Consumers [i ])
135135 }
136136}
You can’t perform that action at this time.
0 commit comments