(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:
		| @@ -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 | ||||
|             // | ||||
|   | ||||
		Reference in New Issue
	
	Block a user