Skip to content

Commit

Permalink
Update logprep/processor/calculator/rule.py
Browse files Browse the repository at this point in the history
Co-authored-by: dtrai2 <[email protected]>
  • Loading branch information
ekneg54 and dtrai2 authored Oct 12, 2023
1 parent 3b1199c commit 17b4760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logprep/processor/calculator/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class Config(FieldManagerRule.Config):
"""The maximum time in seconds for the calculation. Defaults to :code:`1`"""
ignore_missing_fields: bool = field(validator=validators.instance_of(bool), default=False)
"""If set to :code:`True` missing fields will be ignored, no warning is logged,
no calculation is performed and the event is not tagged with the failure tag.
Defaults to :code:`False`"""
and the event is not tagged with the a failure tag. As soon as one field is missing
no calculation is performed at all. Defaults to :code:`False`"""
mapping: dict = field(default="", init=False, repr=False, eq=False)

def __attrs_post_init__(self):
Expand Down

0 comments on commit 17b4760

Please sign in to comment.