mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix rabbitmqctl output handler for 3.6.10
Fix the output sanatizer for rabbitmqctl output generated by rabbitmq-server 3.6.10 and later. #41955 Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
parent
82b1eb28ab
commit
3602af1e1b
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ def _safe_output(line):
|
|||
'''
|
||||
return not any([
|
||||
line.startswith('Listing') and line.endswith('...'),
|
||||
line.startswith('Listing') and '\t' not in line,
|
||||
'...done' in line,
|
||||
line.startswith('WARNING:')
|
||||
])
|
||||
|
|
Loading…
Add table
Reference in a new issue