From e765c127600453da39f357f72bf1167e1496ebd0 Mon Sep 17 00:00:00 2001 From: stepanblyschak <38952541+stepanblyschak@users.noreply.github.com> Date: Mon, 17 Sep 2018 22:09:12 +0300 Subject: [PATCH] [aclorch]: Remove error message when match not found (#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 --- orchagent/aclorch.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/orchagent/aclorch.cpp b/orchagent/aclorch.cpp index 5e3cf05f5ca3..f407c3b39b3e 100644 --- a/orchagent/aclorch.cpp +++ b/orchagent/aclorch.cpp @@ -164,8 +164,6 @@ bool AclRule::validateAddMatch(string attr_name, string attr_value) { if (aclMatchLookup.find(attr_name) == aclMatchLookup.end()) { - SWSS_LOG_ERROR("Failed to locate match criterion %s", - attr_name.c_str()); return false; } else if (attr_name == MATCH_IN_PORTS)