Skip to content

Commit

Permalink
[ppi]: Relax port attributes validation.
Browse files Browse the repository at this point in the history
Signed-off-by: Nazarii Hnydyn <[email protected]>
  • Loading branch information
nazariig committed Aug 15, 2023
1 parent aabe741 commit ca679e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/port/porthlpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -919,13 +919,13 @@ bool PortHelper::validatePortConfig(PortConfig &port) const

if (!port.lanes.is_set)
{
SWSS_LOG_ERROR("Validation error: missing mandatory field(%s)", PORT_LANES);
SWSS_LOG_WARN("Validation error: missing mandatory field(%s)", PORT_LANES);
return false;
}

if (!port.speed.is_set)
{
SWSS_LOG_ERROR("Validation error: missing mandatory field(%s)", PORT_SPEED);
SWSS_LOG_WARN("Validation error: missing mandatory field(%s)", PORT_SPEED);
return false;
}

Expand Down

0 comments on commit ca679e3

Please sign in to comment.