File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -905,11 +905,11 @@ void PortManager::setOverrideXphyNoTcvrPortToProfileForTesting(
905905 auto zPortID = getPortIDByPortName (*portPairs.zPortName ());
906906 // If the SW port does NOT have a transceiver but HAS XPHY, add it to
907907 // overrideXphyNoTcvrPortToProfileForTest_ (XPHY backplane port)
908- for (const auto & portID : {aPortID, zPortID}) {
909- if (portID .has_value () && !portHasTransceiver (*portID ) &&
910- cachedXphyPorts_.find (*portID ) != cachedXphyPorts_.end ()) {
908+ for (const auto & pID : {aPortID, zPortID}) {
909+ if (pID .has_value () && !portHasTransceiver (*pID ) &&
910+ cachedXphyPorts_.find (*pID ) != cachedXphyPorts_.end ()) {
911911 overrideXphyNoTcvrPortToProfileForTest_.emplace (
912- *portID , *portPairs.profileID ());
912+ *pID , *portPairs.profileID ());
913913 }
914914 }
915915 }
You can’t perform that action at this time.
0 commit comments