Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ibm|compute] Typo in parameter name, should be storageID

  • Loading branch information...
commit 48789a33b6d726ce0aa8019342f077210a7cc39c 1 parent e4cf9e3
@decklin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fog/ibm/models/compute/server.rb
View
4 lib/fog/ibm/models/compute/server.rb
@@ -122,13 +122,13 @@ def addresses
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
Please sign in to comment.
Something went wrong with that request. Please try again.