mirror of https://github.com/ansible/ansible.git
Fix comparison of priority (#43329)
The existing rule priority comes from aws as a string. It is then compared to the new rule priority, which is defined as an int. This change casts the new rule priority as a string making the comparison work. The reason to cast it as a string rather than an int is used because a priority can also be set to 'default'. When trying to case 'default' as an int, it creates an error.pull/43533/head
parent
9e5e35e64c
commit
4549962f85
Loading…
Reference in New Issue