X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fredis%2Fasynccommanddispatcher.cpp;fp=src%2Fredis%2Fasynccommanddispatcher.cpp;h=1a40f906585ad474f0b01af5a1a931f404378433;hb=8324d029ce006509ddbc605446d05987c17e0368;hp=25ec8903b12dbb2fe614940ccf748231e06f18f4;hpb=ef2bf51d04aaf01fa0cabdcaf905b23423067662;p=ric-plt%2Fsdl.git diff --git a/src/redis/asynccommanddispatcher.cpp b/src/redis/asynccommanddispatcher.cpp index 25ec890..1a40f90 100644 --- a/src/redis/asynccommanddispatcher.cpp +++ b/src/redis/asynccommanddispatcher.cpp @@ -33,9 +33,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 +62,8 @@ std::shared_ptr AsyncCommandDispatcher::create(Engine& e databaseInfo.hosts.at(0).getPort(), contentsBuilder, usePermanentCommandCallbacks, - logger); + logger, + usedForSentinel); #else SHAREDDATALAYER_ABORT("Not implemented."); #endif