Skip to content

Commit 027de8f

Browse files
authored
Do not translateVidToRid for processBulkQuadEvent in InitViewMode (#598)
1 parent b0ee63d commit 027de8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

syncd/Syncd.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,11 @@ sai_status_t Syncd::processBulkQuadEvent(
625625
strObjectType.c_str(),
626626
objectIds.size());
627627

628+
if (isInitViewMode())
629+
{
630+
return processBulkQuadEventInInitViewMode(objectType, objectIds, api, attributes);
631+
}
632+
628633
if (api != SAI_COMMON_API_BULK_GET)
629634
{
630635
// translate attributes for all objects
@@ -638,11 +643,6 @@ sai_status_t Syncd::processBulkQuadEvent(
638643
}
639644
}
640645

641-
if (isInitViewMode())
642-
{
643-
return processBulkQuadEventInInitViewMode(objectType, objectIds, api, attributes);
644-
}
645-
646646
auto info = sai_metadata_get_object_type_info(objectType);
647647

648648
if (info->isobjectid)

0 commit comments

Comments
 (0)