File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 33
33
34
34
35
35
def rabbit_heartbeat_filter (log_record ):
36
-
37
- # Note the type in the log message was fixed in
38
- # change Id11db4113c9b1c3add602192c1e915218704ef27
39
- # but we handle both form to allow this to be backported
40
- # without consideration of the version of oslo.messaging used.
41
- # TODO(sean-k-mooney): remove support for typo in follow up
42
- # to allow this to be easily backported without modification.
43
- messages = [
44
- "Unexpected error during heartbeart thread processing" ,
45
- "Unexpected error during heartbeat thread processing" ]
46
- return not any (msg in log_record .msg for msg in messages )
36
+ message = "Unexpected error during heartbeat thread processing"
37
+ return message not in log_record .msg
47
38
48
39
49
40
def parse_args (argv , default_config_files = None , configure_db = True ,
You can’t perform that action at this time.
0 commit comments