Skip to content

Commit

Permalink
add empty config - workaround for fog/fog-google#214
Browse files Browse the repository at this point in the history
(transferred from ManageIQ/manageiq@a117e8a)
  • Loading branch information
durandom committed Apr 24, 2017
1 parent e505911 commit ca3b244
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def get_or_create_subscription(google)
# If event catcher is not yet setup, then we'll get a fog error
google.subscriptions.get(subscription_name) ||
google.subscriptions.create(:name => subscription_name,
# add empty config - workaround for https://github.com/fog/fog-google/issues/214
# TODO: remove once the above is resolved
:push_config => {},
:topic => topic_name)
rescue Fog::Errors::NotFound
# Rather than expose the notfound error, we expose our own exception
Expand Down

0 comments on commit ca3b244

Please sign in to comment.