mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
remove extra reloads
This commit is contained in:
parent
952367caf4
commit
1b603ecf5c
3 changed files with 0 additions and 5 deletions
|
@ -14,7 +14,6 @@ module Fog
|
||||||
|
|
||||||
def self.reload
|
def self.reload
|
||||||
load "#{File.dirname(__FILE__)}/fog/aws.rb"
|
load "#{File.dirname(__FILE__)}/fog/aws.rb"
|
||||||
Fog::AWS.reload
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -12,11 +12,8 @@ module Fog
|
||||||
def self.reload
|
def self.reload
|
||||||
current_directory = File.dirname(__FILE__)
|
current_directory = File.dirname(__FILE__)
|
||||||
load "#{current_directory}/aws/ec2.rb"
|
load "#{current_directory}/aws/ec2.rb"
|
||||||
Fog::AWS::EC2.reload
|
|
||||||
load "#{current_directory}/aws/simpledb.rb"
|
load "#{current_directory}/aws/simpledb.rb"
|
||||||
Fog::AWS::SimpleDB.reload
|
|
||||||
load "#{current_directory}/aws/s3.rb"
|
load "#{current_directory}/aws/s3.rb"
|
||||||
Fog::AWS::S3.reload
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if Fog.mocking?
|
if Fog.mocking?
|
||||||
|
|
|
@ -65,7 +65,6 @@ module Fog
|
||||||
@bucket
|
@bucket
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue