elbv2 - print() statement results an task failure, even if the task itself was successfull (#65183)

This commit is contained in:
Markus Bergholz 2019-11-22 16:52:06 +01:00 committed by Sloane Hertel
parent d3f6943446
commit cba9abcbec

View file

@ -777,13 +777,9 @@ class ELBListenerRules(object):
if current_actions_sorted != new_actions_sorted_no_secret: if current_actions_sorted != new_actions_sorted_no_secret:
modified_rule['Actions'] = new_rule['Actions'] modified_rule['Actions'] = new_rule['Actions']
print("modified_rule:")
print(new_rule['Actions'])
# If the action lengths are different, then replace with the new actions # If the action lengths are different, then replace with the new actions
else: else:
modified_rule['Actions'] = new_rule['Actions'] modified_rule['Actions'] = new_rule['Actions']
print("modified_rule:")
print(new_rule['Actions'])
# Conditions # Conditions
modified_conditions = [] modified_conditions = []