Skip to content

Commit

Permalink
Renamed the subscriber auto subscribe method, due to changes in the S…
Browse files Browse the repository at this point in the history
  • Loading branch information
vovimayhem committed Mar 8, 2020
1 parent 379976a commit 92c8c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event-notification/lib/icalia/event/subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def subscription_name
"-#{topic_name}"
end

def ensure_subscription_exists
def auto_subscribe
client = Subserver::Pubsub.client
topic = client.topic(topic_name) || client.create_topic(topic_name)

Expand Down

0 comments on commit 92c8c92

Please sign in to comment.