mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 01:45:21 +00:00
Fixing handling of unsupported sources.
This commit is contained in:
parent
0fe72d6133
commit
60b20a76a6
@ -95,7 +95,7 @@ class LimaCharlieBackend(BaseBackend):
|
|||||||
service = ""
|
service = ""
|
||||||
|
|
||||||
mappingKey = "%s/%s/%s" % (product, category, service)
|
mappingKey = "%s/%s/%s" % (product, category, service)
|
||||||
topFilter, preCond, mappings, isAllStringValues = _allFieldMappings.get(mappingKey, tuple([None, None, None]))
|
topFilter, preCond, mappings, isAllStringValues = _allFieldMappings.get(mappingKey, tuple([None, None, None, None]))
|
||||||
if mappings is None:
|
if mappings is None:
|
||||||
raise NotImplementedError("Log source %s/%s/%s not supported by backend." % (product, category, service))
|
raise NotImplementedError("Log source %s/%s/%s not supported by backend." % (product, category, service))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user