File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1357,15 +1357,21 @@ void PortsOrch::doPortTask(Consumer &consumer)
1357
1357
continue ;
1358
1358
}
1359
1359
1360
- if (alias != " PortConfigDone" && !gBufferOrch ->isPortReady (alias))
1360
+ if (alias == " PortConfigDone" )
1361
+ {
1362
+ it = consumer.m_toSync .erase (it);
1363
+ continue ;
1364
+ }
1365
+
1366
+ if (!gBufferOrch ->isPortReady (alias))
1361
1367
{
1362
1368
// buffer configuration hasn't been applied yet. save it for future retry
1363
1369
it++;
1364
1370
continue ;
1365
1371
}
1366
1372
1367
1373
Port p;
1368
- if (!getPort (alias, p) && alias != " PortConfigDone " )
1374
+ if (!getPort (alias, p))
1369
1375
{
1370
1376
SWSS_LOG_ERROR (" Failed to get port id by alias:%s" , alias.c_str ());
1371
1377
}
@@ -1516,7 +1522,6 @@ void PortsOrch::doPortTask(Consumer &consumer)
1516
1522
{
1517
1523
SWSS_LOG_ERROR (" Unknown fec mode %s" , fec_mode.c_str ());
1518
1524
}
1519
-
1520
1525
}
1521
1526
}
1522
1527
}
You can’t perform that action at this time.
0 commit comments