Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Dec 11, 2024
1 parent 3e32eb2 commit 2a7a3f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oracle/oracles/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ func (f *tsFuture) Wait() (uint64, error) {
}

func (o *pdOracle) GetTimestampAsync(ctx context.Context, opt *oracle.Option) oracle.Future {
var ts pd.TSFuture
ts = o.c.GetTSAsync(ctx)
ts := o.c.GetTSAsync(ctx)
return &tsFuture{ts, o, opt.TxnScope}
}

Expand Down

0 comments on commit 2a7a3f2

Please sign in to comment.