Skip to content

Commit

Permalink
Merge branch 'master' into master-codeql-infra-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prsunny authored Jul 10, 2023
2 parents 301e8a2 + 7fa01d2 commit 14e711d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion orchagent/mirrororch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,10 @@ bool MirrorOrch::isHwResourcesAvailable()
);
if (status != SAI_STATUS_SUCCESS)
{
if (status == SAI_STATUS_NOT_SUPPORTED)
if ((status == SAI_STATUS_NOT_SUPPORTED) ||
(status == SAI_STATUS_NOT_IMPLEMENTED) ||
SAI_STATUS_IS_ATTR_NOT_SUPPORTED(status) ||
SAI_STATUS_IS_ATTR_NOT_IMPLEMENTED(status))
{
SWSS_LOG_WARN("Mirror session resource availability monitoring is not supported. Skipping ...");
return true;
Expand Down

0 comments on commit 14e711d

Please sign in to comment.