mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[cloud] Cast port to an integer in elb_application_lb listener spec (#28341)
This commit is contained in:
parent
8e0b5800b7
commit
1300680d30
1 changed files with 1 additions and 0 deletions
|
@ -628,6 +628,7 @@ def compare_listeners(connection, module, current_listeners, new_listeners, purg
|
|||
for current_listener in current_listeners:
|
||||
current_listener_passed_to_module = False
|
||||
for new_listener in new_listeners[:]:
|
||||
new_listener['Port'] = int(new_listener['Port'])
|
||||
if current_listener['Port'] == new_listener['Port']:
|
||||
current_listener_passed_to_module = True
|
||||
# Remove what we match so that what is left can be marked as 'to be added'
|
||||
|
|
Loading…
Reference in a new issue