mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix typos
This commit is contained in:
parent
711a9144c1
commit
e3326e4261
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ module Fog
|
|||
end
|
||||
|
||||
def location
|
||||
data = s3.get_bucket_location(@name)
|
||||
data = connection.get_bucket_location(@name)
|
||||
data.body['LocationConstraint']
|
||||
end
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ module Fog
|
|||
bucket.objects.merge_attributes(objects_data)
|
||||
data['Contents'].each do |object|
|
||||
owner = Fog::AWS::S3::Owner.new(object.delete('Owner').merge!(:connection => connection))
|
||||
bucket.objects[object['key']] = Fog::AWS::S3::Object.new({
|
||||
bucket.objects[object['Key']] = Fog::AWS::S3::Object.new({
|
||||
:bucket => bucket,
|
||||
:connection => connection,
|
||||
:objects => self,
|
||||
|
|
Loading…
Reference in a new issue