summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2017-10-18 12:53:21 +0000
committerTor Egge <Tor.Egge@oath.com>2017-10-18 12:53:21 +0000
commit52f05c73d091ccf8c00024a3ca377987eec6d5ee (patch)
treec005610ae8eaaee64bef40951248aaaa95645460 /storage
parent00673fd58679212a69a5f51ff255a90c2fff9271 (diff)
Remove DocumentListCommand and DocumentListReply from storage api.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/storageserver/documentapiconverter.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/storage/src/vespa/storage/storageserver/documentapiconverter.cpp b/storage/src/vespa/storage/storageserver/documentapiconverter.cpp
index e8d99bc3939..f4c2b22eec7 100644
--- a/storage/src/vespa/storage/storageserver/documentapiconverter.cpp
+++ b/storage/src/vespa/storage/storageserver/documentapiconverter.cpp
@@ -277,21 +277,6 @@ DocumentApiConverter::toDocumentAPI(api::StorageCommand& fromMsg, const document
toMsg = std::move(to);
break;
}
- case api::MessageType::DOCUMENTLIST_ID:
- {
- api::DocumentListCommand& from(static_cast<api::DocumentListCommand&>(fromMsg));
- documentapi::DocumentListMessage::UP to(new documentapi::DocumentListMessage(from.getBucketId()));
-
- for (uint32_t i = 0; i < from.getDocuments().size(); i++) {
- to->getDocuments().push_back(
- documentapi::DocumentListMessage::Entry(
- from.getDocuments()[i]._lastModified,
- from.getDocuments()[i]._doc,
- from.getDocuments()[i]._removeEntry));
- }
- toMsg = std::move(to);
- break;
- }
case api::MessageType::EMPTYBUCKETS_ID:
{
api::EmptyBucketsCommand& from(static_cast<api::EmptyBucketsCommand&>(fromMsg));