diff --git a/syncd/Syncd.cpp b/syncd/Syncd.cpp index 08b576b89b26..5eb1f0abc958 100644 --- a/syncd/Syncd.cpp +++ b/syncd/Syncd.cpp @@ -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 @@ -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)