From 85ef2ec94ca2af3960a4beeea7aa89430490ad3b Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Wed, 3 May 2017 11:02:24 +0200 Subject: [PATCH] Remove test for removed precondition. --- arangod/Cluster/ClusterInfo.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arangod/Cluster/ClusterInfo.cpp b/arangod/Cluster/ClusterInfo.cpp index 98444b2750..1d828cb961 100644 --- a/arangod/Cluster/ClusterInfo.cpp +++ b/arangod/Cluster/ClusterInfo.cpp @@ -1191,11 +1191,6 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName, if (result[0].isObject()) { auto tres = result[0]; if (tres.hasKey( - std::vector( - {AgencyCommManager::path(), "Plan", "Collections", databaseName,collectionID}))) { - errorMsg += std::string( "Preexisting collection with ID ") + collectionID; - } else if ( - tres.hasKey( std::vector( {AgencyCommManager::path(), "Supervision"}))) { for (const auto& s :