mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't overwrite the "key" variable passed in to _listeners_present func
Fixes #37665
This commit is contained in:
parent
44f05acbff
commit
3b7e9c5e3b
1 changed files with 4 additions and 4 deletions
|
@ -689,12 +689,12 @@ def _listeners_present(
|
|||
|
||||
expected_listeners_by_tuple = {}
|
||||
for l in listeners:
|
||||
key = __salt__['boto_elb.listener_dict_to_tuple'](l)
|
||||
expected_listeners_by_tuple[key] = l
|
||||
l_key = __salt__['boto_elb.listener_dict_to_tuple'](l)
|
||||
expected_listeners_by_tuple[l_key] = l
|
||||
actual_listeners_by_tuple = {}
|
||||
for l in lb['listeners']:
|
||||
key = __salt__['boto_elb.listener_dict_to_tuple'](l)
|
||||
actual_listeners_by_tuple[key] = l
|
||||
l_key = __salt__['boto_elb.listener_dict_to_tuple'](l)
|
||||
actual_listeners_by_tuple[l_key] = l
|
||||
|
||||
to_delete = []
|
||||
to_create = []
|
||||
|
|
Loading…
Add table
Reference in a new issue