Skip to content

Commit 1bc94d1

Browse files
[orchagent] Fix typo in PortsOrch::initPortSupportedSpeeds (#1755)
* [orchagent] Fix typo in initPortSupportedSpeeds
1 parent a44e651 commit 1bc94d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

orchagent/portsorch.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1713,7 +1713,8 @@ void PortsOrch::getPortSupportedSpeeds(const std::string& alias, sai_object_id_t
17131713

17141714
void PortsOrch::initPortSupportedSpeeds(const std::string& alias, sai_object_id_t port_id)
17151715
{
1716-
if (!m_portSupportedSpeeds.count(port_id))
1716+
// If port supported speeds map already contains the information, save the SAI call
1717+
if (m_portSupportedSpeeds.count(port_id))
17171718
{
17181719
return;
17191720
}

0 commit comments

Comments
 (0)