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…
Reference in a new issue