Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Jan 9, 2025
1 parent 6ec6f79 commit c7c9baf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oracle/oracles/pd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,8 @@ func TestValidateSnapshotReadTSReusingGetTSResult(t *testing.T) {
getCtx := func(index int) context.Context {
if cancelIndex == index {
return ctx
} else {
return context.Background()
}
return context.Background()
}

results = append(results, asyncValidate(getCtx(0), ts-2))
Expand Down

0 comments on commit c7c9baf

Please sign in to comment.