mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Correct the Blue Box create_block method to check for ssh_public_key, not public_key
This commit is contained in:
parent
11591b3ed9
commit
66a3ca69e6
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module Fog
|
|||
# * body<~Hash>:
|
||||
def create_block(product_id, template_id, location_id, options = {})
|
||||
|
||||
unless options.has_key?('password') || options.has_key?('public_key')
|
||||
unless options.has_key?('password') || options.has_key?('ssh_public_key')
|
||||
raise ArgumentError, 'Either password or public_key must be supplied'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue