sns_topic: Fix unreferenced variable (#29117)

Not sure how this ever worked.

Fixes #29102
pull/29119/head
Joel Thompson 7 years ago committed by Sam Doran
parent c749ecbd94
commit 4e759a9cce

@ -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…
Cancel
Save