Skip to content

Commit

Permalink
forgot to pass the vclock to the request
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Mancini committed Dec 17, 2015
1 parent 1595499 commit d7d6243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Riak/Api/Pb.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ protected function prepareMessage()
case 'Basho\Riak\Command\Object\Store':
$this->messageCode = Api\Pb\Message::RpbPutReq;
$message = new Api\Pb\Message\RpbPutReq();
$message->setVclock($this->command->getObject()->getVclock());
$message->setContent($this->prepareContent());
break;
case 'Basho\Riak\Command\Object\Delete':
Expand Down Expand Up @@ -530,7 +531,6 @@ protected function parseResponse($message_code, $message = '')
case Api\Pb\Message::RpbYokozunaSchemaGetResp:
$code = 200;
$pbResponse = new Api\Pb\Message\RpbYokozunaSchemaGetResp();
var_dump($message);
$pbResponse->parseFromString($message);

$this->response = new Command\Search\Schema\Response($this->success, $code, '', $pbResponse->getSchema()->getContent(), Http::CONTENT_TYPE_XML);
Expand Down

0 comments on commit d7d6243

Please sign in to comment.