Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions client/src/com/aerospike/client/exp/ListExp.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ public static Exp clear(Exp bin, CTX... ctx) {
* @param ctx optional context path for nested CDT
*/
public static Exp sort(int sortFlags, Exp bin, CTX... ctx) {
byte[] bytes = Pack.pack(SORT, sortFlags, ctx);
return addWrite(bin, bytes, ctx);
return addWrite(bin, Pack.pack(SORT, sortFlags, ctx), ctx);
}

/**
Expand Down