Skip to content

Commit 4d605e7

Browse files
committed
fixed typo
1 parent 37b5a5a commit 4d605e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index/scorch/merge.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ OUTER:
9494
if ctrlMsg.plan == nil {
9595
err = s.planMergeAtSnapshot(ctrlMsg.ctx, ctrlMsg.options,
9696
ourSnapshot)
97-
}
98-
99-
if err == nil {
97+
} else {
10098
cw := newCloseChWrapper(s.closeCh, ctrlMsg.ctx)
10199
defer cw.close()
102100
go cw.listen()

0 commit comments

Comments
 (0)