Skip to content

Commit 763afb3

Browse files
committed
snaprecv: fix return param name
1 parent d3e3d30 commit 763afb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kv/kvserver/kvstorage/snaprecv/multi_sst_writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ func (msstw *MultiSSTWriter) putRangeKey(
507507
)
508508
}
509509

510-
func (msstw *MultiSSTWriter) Finish(ctx context.Context) (_dataSize, sstSize int64, _ error) {
510+
func (msstw *MultiSSTWriter) Finish(ctx context.Context) (dataSize, sstSize int64, _ error) {
511511
if msstw.currSpan < (len(msstw.localKeySpans) + len(msstw.mvccSSTSpans)) {
512512
for {
513513
if err := msstw.finalizeSST(ctx, nil /* nextKey */); err != nil {

0 commit comments

Comments
 (0)