Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update riakclient.proto as per https://issues.basho.com/show_bug.cgi?…

  • Loading branch information...
commit 7ec03b17d5788a33e027bf28670711afa8440f25 1 parent 9dd060d
@krestenkrab authored
View
4 src/main/java/com/trifork/riak/RiakClient.java
@@ -389,12 +389,12 @@ public void store(RiakObject value) throws IOException {
RpbPutResp resp = RPB.RpbPutResp.parseFrom(r);
- RiakObject[] res = new RiakObject[resp.getContentsCount()];
+ RiakObject[] res = new RiakObject[resp.getContentCount()];
ByteString vclock = resp.getVclock();
for (int i = 0; i < res.length; i++) {
res[i] = new RiakObject(vclock, value.getBucketBS(), value
- .getKeyBS(), resp.getContents(i));
+ .getKeyBS(), resp.getContent(i));
}
return res;
View
2  src/main/proto/riakclient.proto
@@ -146,7 +146,7 @@ message RpbPutReq {
// Put response - same as get response
message RpbPutResp {
- repeated RpbContent contents = 1;
+ repeated RpbContent content = 1;
optional bytes vclock = 2; // the opaque vector clock for the object
}
Please sign in to comment.
Something went wrong with that request. Please try again.