File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,6 @@ linters:
234234 - ireturn
235235 - maintidx
236236 - maligned
237- - nilerr
238237 - nlreturn
239238 - nonamedreturns
240239 - paralleltest
Original file line number Diff line number Diff line change 1+ * Refactored nil on err ` internal/grpcwrapper/rawydb/issues.go ` , when golangci-lint nilerr enabled
2+ * Refactored nil on err ` internal/grpcwrapper/rawtopic/describe_topic.go ` , when golangci-lint nilerr enabled
3+
14## v3.55.2
25* Fixed init info in topic writer, when autoseq num turned off.
36
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ type DescribeTopicResult struct {
4343
4444func (res * DescribeTopicResult ) FromProto (protoResponse * Ydb_Topic.DescribeTopicResponse ) error {
4545 if err := res .Operation .FromProtoWithStatusCheck (protoResponse .Operation ); err != nil {
46- return nil
46+ return err
4747 }
4848
4949 protoResult := & Ydb_Topic.DescribeTopicResult {}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func (issuesPointer *Issues) FromProto(p []*Ydb_Issue.IssueMessage) error {
1717 issues := * issuesPointer
1818 for i := range issues {
1919 if err := issues [i ].FromProto (p [i ]); err != nil {
20- return nil
20+ return err
2121 }
2222 }
2323 return nil
You can’t perform that action at this time.
0 commit comments