mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|storage] fixing example spacing
This commit is contained in:
parent
b2c8bc27d3
commit
7f198e5382
1 changed files with 2 additions and 3 deletions
|
@ -27,8 +27,7 @@ service = Fog::Storage.new({
|
||||||
:provider => 'Rackspace',
|
:provider => 'Rackspace',
|
||||||
:rackspace_username => rackspace_username,
|
:rackspace_username => rackspace_username,
|
||||||
:rackspace_api_key => rackspace_api_key
|
:rackspace_api_key => rackspace_api_key
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
# prompt for directory name
|
# prompt for directory name
|
||||||
directory_name = get_user_input "\nEnter name of directory to create"
|
directory_name = get_user_input "\nEnter name of directory to create"
|
||||||
|
@ -39,6 +38,6 @@ directory = service.directories.create :key => directory_name, :public => true
|
||||||
# reload directory to refresh information
|
# reload directory to refresh information
|
||||||
directory.reload
|
directory.reload
|
||||||
|
|
||||||
puts "\n Directory #{directory.key} was created."
|
puts "\nDirectory #{directory.key} was created."
|
||||||
puts "To delete the container please execute the delete_directory.rb script\n\n"
|
puts "To delete the container please execute the delete_directory.rb script\n\n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue