From b859344121ecafbe9715a9a8d4e218175ea8230d Mon Sep 17 00:00:00 2001 From: Dong Zhang <41927498+dzhangalibaba@users.noreply.github.com> Date: Tue, 3 Sep 2019 15:08:13 -0700 Subject: [PATCH] fix found typo in new added syncMode related codes (#506) --- lib/src/sai_redis_generic_create.cpp | 2 +- lib/src/sai_redis_generic_remove.cpp | 2 +- lib/src/sai_redis_generic_set.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/sai_redis_generic_create.cpp b/lib/src/sai_redis_generic_create.cpp index e9dbfd3d189a..ee3e4360ea58 100644 --- a/lib/src/sai_redis_generic_create.cpp +++ b/lib/src/sai_redis_generic_create.cpp @@ -387,7 +387,7 @@ sai_status_t internal_redis_bulk_generic_create( g_asicState->set(key, entries, "bulkcreate"); } - return internal_api_wait_for_response(SAI_COMMON_API_CREATE); + return internal_api_wait_for_response(SAI_COMMON_API_BULK_CREATE); } #define REDIS_ENTRY_CREATE(OT,ot) \ diff --git a/lib/src/sai_redis_generic_remove.cpp b/lib/src/sai_redis_generic_remove.cpp index 707ab7a72002..479810b651c5 100644 --- a/lib/src/sai_redis_generic_remove.cpp +++ b/lib/src/sai_redis_generic_remove.cpp @@ -118,7 +118,7 @@ sai_status_t internal_redis_bulk_generic_remove( } /* - * Capital 'R' stands for bulk CREATE operation. + * Capital 'R' stands for bulk REMOVE operation. */ recordLine("R|" + str_object_type + joined); diff --git a/lib/src/sai_redis_generic_set.cpp b/lib/src/sai_redis_generic_set.cpp index 9cd53e196ed9..adf5a993f4bb 100644 --- a/lib/src/sai_redis_generic_set.cpp +++ b/lib/src/sai_redis_generic_set.cpp @@ -187,7 +187,7 @@ sai_status_t internal_redis_bulk_generic_set( g_asicState->set(key, entries, "bulkset"); } - return internal_api_wait_for_response(SAI_COMMON_API_SET); + return internal_api_wait_for_response(SAI_COMMON_API_BULK_SET); }