Skip to content

Commit

Permalink
Use precomputed ops variable in batchIndexCommandGet.executeSingle
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Jul 17, 2024
1 parent 35c6409 commit d793c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batch_index_command_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (cmd *batchIndexCommandGet) executeSingle(client clientIfc) Error {
} else {
ops = br.Ops
}
res, err := client.Operate(cmd.policy.toWritePolicy(), br.Key, br.Ops...)
res, err := client.Operate(cmd.policy.toWritePolicy(), br.Key, ops...)
cmd.indexRecords[i].setRecord(res)
if err != nil {
cmd.indexRecords[i].setRawError(err)
Expand Down

0 comments on commit d793c50

Please sign in to comment.