Skip to content

Commit c9e6f13

Browse files
committed
Drop unnecessary warnings in lib/fog/bin/google.rb
It's not clear why these warnings were here in the first place.
1 parent 3808fc2 commit c9e6f13

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/fog/bin/google.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ def [](service)
2626
@@connections ||= Hash.new do |hash, key|
2727
case key
2828
when :compute
29-
Fog::Logger.warning("Google[:compute] is not recommended, use Compute[:google] for portability")
3029
hash[key] = Fog::Compute.new(:provider => "Google")
3130
when :dns
32-
Fog::Logger.warning("Google[:dns] is not recommended, use DNS[:google] for portability")
3331
hash[key] = Fog::DNS.new(:provider => "Google")
3432
when :monitoring
3533
hash[key] = Fog::Google::Monitoring.new
@@ -38,7 +36,6 @@ def [](service)
3836
when :pubsub
3937
hash[key] = Fog::Google::Pubsub.new
4038
when :storage
41-
Fog::Logger.warning("Google[:storage] is not recommended, use Storage[:google] for portability")
4239
hash[key] = Fog::Storage.new(:provider => "Google")
4340
else
4441
hash[key] = raise ArgumentError, "Unrecognized service: #{key.inspect}"

0 commit comments

Comments
 (0)