Skip to content

Commit b859344

Browse files
dzhangalibabalguohan
authored andcommitted
fix found typo in new added syncMode related codes (#506)
1 parent 5fc89b5 commit b859344

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/src/sai_redis_generic_create.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ sai_status_t internal_redis_bulk_generic_create(
387387
g_asicState->set(key, entries, "bulkcreate");
388388
}
389389

390-
return internal_api_wait_for_response(SAI_COMMON_API_CREATE);
390+
return internal_api_wait_for_response(SAI_COMMON_API_BULK_CREATE);
391391
}
392392

393393
#define REDIS_ENTRY_CREATE(OT,ot) \

lib/src/sai_redis_generic_remove.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ sai_status_t internal_redis_bulk_generic_remove(
118118
}
119119

120120
/*
121-
* Capital 'R' stands for bulk CREATE operation.
121+
* Capital 'R' stands for bulk REMOVE operation.
122122
*/
123123

124124
recordLine("R|" + str_object_type + joined);

lib/src/sai_redis_generic_set.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ sai_status_t internal_redis_bulk_generic_set(
187187
g_asicState->set(key, entries, "bulkset");
188188
}
189189

190-
return internal_api_wait_for_response(SAI_COMMON_API_SET);
190+
return internal_api_wait_for_response(SAI_COMMON_API_BULK_SET);
191191
}
192192

193193

0 commit comments

Comments
 (0)