Skip to content

Commit e42f1a6

Browse files
authored
fix(java-client): use remove_result instead of put_result for rrdb_remove_operator (#2280)
Although this is not a typical bug, the return value of the `remove` RPC interface for `rrdb` should be adapted using `remove_result` rather than `put_result` despite the same type received by both of them as `update_response`.
1 parent 2b7020f commit e42f1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-client/src/main/java/org/apache/pegasus/operator/rrdb_remove_operator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void send_data(org.apache.thrift.protocol.TProtocol oprot, int seqid) thr
4646
}
4747

4848
public void recv_data(TProtocol iprot) throws TException {
49-
rrdb.put_result result = new rrdb.put_result();
49+
rrdb.remove_result result = new rrdb.remove_result();
5050
result.read(iprot);
5151
if (result.isSetSuccess()) resp = result.success;
5252
else

0 commit comments

Comments
 (0)