(cobra python bots) remove the test which stop the bot when events do not follow cobra metrics system schema with an id and a device entry

This commit is contained in:
Benjamin Sergeant
2020-07-06 16:15:24 -07:00
parent cc47fb1c83
commit dddf00e3b1
3 changed files with 5 additions and 13 deletions

View File

@ -162,18 +162,6 @@ namespace ix
std::atomic<bool>& /*throttled*/,
std::atomic<bool>& fatalCobraError,
std::atomic<uint64_t>& sentCount) -> void {
if (msg["device"].isNull())
{
CoreLogger::info("no device entry, skipping event");
return;
}
if (msg["id"].isNull())
{
CoreLogger::info("no id entry, skipping event");
return;
}
//
// Invoke python script here. First build function parameters, a tuple
//