mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ibm|compute] Typo in parameter name, should be storageID
This commit is contained in:
parent
e4cf9e3db9
commit
48789a33b6
1 changed files with 2 additions and 2 deletions
|
@ -122,13 +122,13 @@ module Fog
|
|||
|
||||
def attach(volume_id)
|
||||
requires :id
|
||||
data = connection.modify_instance(id, {'type' => 'attach', 'storageId' => volume_id})
|
||||
data = connection.modify_instance(id, {'type' => 'attach', 'storageID' => volume_id})
|
||||
data.body
|
||||
end
|
||||
|
||||
def detach(volume_id)
|
||||
requires :id
|
||||
data = connection.modify_instance(id, {'type' => 'detach', 'storageId' => volume_id})
|
||||
data = connection.modify_instance(id, {'type' => 'detach', 'storageID' => volume_id})
|
||||
data.body
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue