Squashed commit of the following:
commit
f33220aa45f185a56161d5f0520c266cc5f7015e
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date: Mon Aug 10 23:05:17 2020 -0400
perf_monitor: convert the perf_monitor inspector configure warnings to errors
ptr = ModuleManager::get_module(name.c_str());
if ( ptr == nullptr )
{
- ParseWarning(WARN_CONF, "Perf monitor is unable to find the %s module.\n", name.c_str());
+ ParseError("Perf monitor is unable to find the %s module.\n", name.c_str());
return false;
}
{
if ( !i.second )
{
- ParseWarning(WARN_CONF, "Perf monitor is unable to find %s.%s count", name.c_str(), i.first.c_str());
+ ParseError("Perf monitor is unable to find %s.%s count", name.c_str(), i.first.c_str());
return false;
}
}