Skip to content

Commit

Permalink
Do not translateVidToRid for processBulkQuadEvent in InitViewMode (so…
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Apr 9, 2020
1 parent b0ee63d commit 027de8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions syncd/Syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,11 @@ sai_status_t Syncd::processBulkQuadEvent(
strObjectType.c_str(),
objectIds.size());

if (isInitViewMode())
{
return processBulkQuadEventInInitViewMode(objectType, objectIds, api, attributes);
}

if (api != SAI_COMMON_API_BULK_GET)
{
// translate attributes for all objects
Expand All @@ -638,11 +643,6 @@ sai_status_t Syncd::processBulkQuadEvent(
}
}

if (isInitViewMode())
{
return processBulkQuadEventInInitViewMode(objectType, objectIds, api, attributes);
}

auto info = sai_metadata_get_object_type_info(objectType);

if (info->isobjectid)
Expand Down

0 comments on commit 027de8f

Please sign in to comment.