Skip to content

Commit 11ea38d

Browse files
committed
[ppi]: Relax port attributes validation.
Signed-off-by: Nazarii Hnydyn <[email protected]>
1 parent bb99f41 commit 11ea38d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orchagent/port/porthlpr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,13 +919,13 @@ bool PortHelper::validatePortConfig(PortConfig &port) const
919919

920920
if (!port.lanes.is_set)
921921
{
922-
SWSS_LOG_ERROR("Validation error: missing mandatory field(%s)", PORT_LANES);
922+
SWSS_LOG_WARN("Validation error: missing mandatory field(%s)", PORT_LANES);
923923
return false;
924924
}
925925

926926
if (!port.speed.is_set)
927927
{
928-
SWSS_LOG_ERROR("Validation error: missing mandatory field(%s)", PORT_SPEED);
928+
SWSS_LOG_WARN("Validation error: missing mandatory field(%s)", PORT_SPEED);
929929
return false;
930930
}
931931

0 commit comments

Comments
 (0)