Skip to content

Commit e765c12

Browse files
stepanblyschakShuotian Cheng
authored and
Shuotian Cheng
committed
[aclorch]: Remove error message when match not found (sonic-net#618)
Fail to find a match criteria is a completely valid flow (orchagent/aclorch.cpp:L2076-L2093) This caused ACL test failure in loganalysis phase. Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 07f4cd8 commit e765c12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

orchagent/aclorch.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ bool AclRule::validateAddMatch(string attr_name, string attr_value)
164164
{
165165
if (aclMatchLookup.find(attr_name) == aclMatchLookup.end())
166166
{
167-
SWSS_LOG_ERROR("Failed to locate match criterion %s",
168-
attr_name.c_str());
169167
return false;
170168
}
171169
else if (attr_name == MATCH_IN_PORTS)

0 commit comments

Comments
 (0)