Skip to content

Commit

Permalink
fix found typo in new added syncMode related codes (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhangalibaba authored and lguohan committed Sep 3, 2019
1 parent 5fc89b5 commit b859344
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/sai_redis_generic_create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down
2 changes: 1 addition & 1 deletion lib/src/sai_redis_generic_remove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/sai_redis_generic_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit b859344

Please sign in to comment.