Skip to content

Commit

Permalink
Fixed: uninitialized constant Fog::AWS::DEFAULT_REGION (NameError)
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Sep 17, 2018
1 parent 44f7db8 commit 6815474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/aws/models/storage/directory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def destroy
end

def location
@location ||= (bucket_location || AWS::DEFAULT_REGION)
@location ||= (bucket_location || Storage::DEFAULT_REGION)
end

# NOTE: you can't change the region once the bucket is created
Expand Down

0 comments on commit 6815474

Please sign in to comment.