X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fredis%2Fasynccommanddispatcher.cpp;h=a549bc9cad60b90b87c63dae34bfaeeaf35f96d8;hb=refs%2Fchanges%2F28%2F6128%2F4;hp=25ec8903b12dbb2fe614940ccf748231e06f18f4;hpb=ef2bf51d04aaf01fa0cabdcaf905b23423067662;p=ric-plt%2Fsdl.git diff --git a/src/redis/asynccommanddispatcher.cpp b/src/redis/asynccommanddispatcher.cpp index 25ec890..a549bc9 100644 --- a/src/redis/asynccommanddispatcher.cpp +++ b/src/redis/asynccommanddispatcher.cpp @@ -14,6 +14,11 @@ limitations under the License. */ +/* + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). +*/ + #include "private/redis/asynccommanddispatcher.hpp" #include #include "config.h" @@ -33,9 +38,11 @@ std::shared_ptr AsyncCommandDispatcher::create(Engine& e const DatabaseInfo& databaseInfo, std::shared_ptr contentsBuilder, bool usePermanentCommandCallbacks, - std::shared_ptr logger) + std::shared_ptr logger, + bool usedForSentinel) { #if HAVE_HIREDIS_VIP + static_cast(usedForSentinel); if (databaseInfo.type == DatabaseInfo::Type::CLUSTER) { return std::make_shared(engine, @@ -60,7 +67,8 @@ std::shared_ptr AsyncCommandDispatcher::create(Engine& e databaseInfo.hosts.at(0).getPort(), contentsBuilder, usePermanentCommandCallbacks, - logger); + logger, + usedForSentinel); #else SHAREDDATALAYER_ABORT("Not implemented."); #endif