Skip to content

Commit

Permalink
[syncd] Use vendor SAI instead of direct SAI api (sonic-net#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored May 18, 2022
1 parent 564bea7 commit 66a29bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncd/Syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4397,7 +4397,7 @@ sai_status_t Syncd::setUninitDataPlaneOnRemovalOnAllSwitches()

sai_status_t queryStatus;

queryStatus = sai_query_attribute_capability(rid,
queryStatus = m_vendorSai->queryAttributeCapability(rid,
SAI_OBJECT_TYPE_SWITCH,
SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL,
&attr_capability);
Expand Down

0 comments on commit 66a29bc

Please sign in to comment.