mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fixed typos and removal of name attribute
This commit is contained in:
parent
e734d7c40f
commit
9ed11028a4
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ module Fog
|
|||
end
|
||||
|
||||
def save
|
||||
requires :flavor_id, :image_id, :name
|
||||
requires :flavor_id, :image_id
|
||||
options = if !@password && !@ssh_key
|
||||
raise(ArgumentError, "password or ssh_key is required for this operation")
|
||||
elsif @ssh_key
|
||||
|
|
|
@ -22,7 +22,7 @@ module Fog
|
|||
:expects => 200,
|
||||
:method => 'POST',
|
||||
:path => '/api/blocks.json',
|
||||
:query => {'product' => product_id, 'template' => templated_id}.merge!(query)
|
||||
:query => {'product' => product_id, 'template' => template_id}.merge!(options)
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue