diff --git a/src/Riak/Api/Pb.php b/src/Riak/Api/Pb.php index 7541479..f43b58b 100644 --- a/src/Riak/Api/Pb.php +++ b/src/Riak/Api/Pb.php @@ -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': @@ -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);