mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
nicer formatting for .fog suggestion and more explicit error
This commit is contained in:
parent
19a12a8613
commit
6647fdf18c
1 changed files with 5 additions and 4 deletions
|
@ -62,14 +62,15 @@ module Fog
|
|||
yml = <<-YML
|
||||
|
||||
:#{credential}:
|
||||
:aws_access_key_id: INTENTIONALLY_LEFT_BLANK
|
||||
:aws_access_key_id: INTENTIONALLY_LEFT_BLANK
|
||||
:aws_secret_access_key: INTENTIONALLY_LEFT_BLANK
|
||||
:rackspace_api_key: INTENTIONALLY_LEFT_BLANK
|
||||
:rackspace_username: INTENTIONALLY_LEFT_BLANK
|
||||
:slicehost_password: INTENTIONALLY_LEFT_BLANK
|
||||
:rackspace_api_key: INTENTIONALLY_LEFT_BLANK
|
||||
:rackspace_username: INTENTIONALLY_LEFT_BLANK
|
||||
:slicehost_password: INTENTIONALLY_LEFT_BLANK
|
||||
|
||||
YML
|
||||
print(yml)
|
||||
raise(ArgumentError.new("Missing Credentials"))
|
||||
end
|
||||
credentials[credential]
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue