We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec462f1 commit fc20d6bCopy full SHA for fc20d6b
orchagent/portsorch.cpp
@@ -5153,7 +5153,18 @@ void PortsOrch::doPortTask(Consumer &consumer)
5153
}
5154
if (pCfg.media_type.is_set)
5155
{
5156
- setPortMediaType(p, pCfg.media_type.value);
+ if (setPortMediaType(p, pCfg.media_type.value))
5157
+ {
5158
+ SWSS_LOG_NOTICE("Set port %s Media Type %s is successful",
5159
+ p.m_alias.c_str(), pCfg.media_type.value.c_str());
5160
+ }
5161
+ else
5162
5163
+ SWSS_LOG_ERROR("Failed to set port %s Media Type %s",
5164
5165
+ it++;
5166
+ continue;
5167
5168
5169
5170
0 commit comments