lib/google/cloud/pubsub/snapshot/list.rb in google-cloud-pubsub-0.29.0 vs lib/google/cloud/pubsub/snapshot/list.rb in google-cloud-pubsub-0.30.0
- old
+ new
@@ -161,10 +161,10 @@
##
# @private Raise an error unless an active connection to the service
# is available.
def ensure_service!
- fail "Must have active connection to service" unless @service
+ raise "Must have active connection to service" unless @service
end
def next_snapshots
options = { prefix: @prefix, token: @token, max: @max }
grpc = @service.list_snapshots options