浏览代码

fix typo in deprecation notice for Records

FrancoisPoinsot 7 年之前
父节点
当前提交
87203d82e8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fetch_response.go

+ 1 - 1
fetch_response.go

@@ -33,7 +33,7 @@ type FetchResponseBlock struct {
 	HighWaterMarkOffset int64
 	LastStableOffset    int64
 	AbortedTransactions []*AbortedTransaction
-	Records             *Records // deprecated: use FetchResponseBlock.Records
+	Records             *Records // deprecated: use FetchResponseBlock.RecordsSet
 	RecordsSet          []*Records
 	Partial             bool
 }