1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[local|storage] mark mock as unimplemented

This commit is contained in:
geemus 2011-01-17 18:04:00 -08:00
parent 501c857aac
commit e6916a7025

View file

@ -26,6 +26,8 @@ module Fog
end end
def initialize(options={}) def initialize(options={})
Fog::Mock.not_implemented
unless options.delete(:provider) unless options.delete(:provider)
location = caller.first location = caller.first
warning = "[yellow][WARN] Fog::Local::Storage.new is deprecated, use Fog::Storage.new(:provider => 'Local') instead[/]" warning = "[yellow][WARN] Fog::Local::Storage.new is deprecated, use Fog::Storage.new(:provider => 'Local') instead[/]"