mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
sns_topic: Fix unreferenced variable (#29117)
Not sure how this ever worked. Fixes #29102
This commit is contained in:
parent
c749ecbd94
commit
4e759a9cce
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class SnsTopicManager(object):
|
|||
for (protocol, endpoint) in desired_subscriptions:
|
||||
if (protocol, endpoint) not in subscriptions_existing_list:
|
||||
self.changed = True
|
||||
self.subscriptions_added.append(sub)
|
||||
self.subscriptions_added.append((protocol, endpoint))
|
||||
if not self.check_mode:
|
||||
self.connection.subscribe(self.arn_topic, protocol, endpoint)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue