1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

joyent resize smartmachine incorrect class type

This commit is contained in:
angus 2013-02-22 08:09:18 +10:00
parent fc3df16a4d
commit 428a8c9a4a
2 changed files with 3 additions and 1 deletions

View file

@ -53,7 +53,7 @@ module Fog
def resize(flavor)
requires :id
service.resize_machine(id, flavor)
service.resize_machine(id, flavor.name)
true
end

View file

@ -1,6 +1,7 @@
module Fog
module Compute
class Joyent
class Real
def resize_machine(id, package)
request(
:method => "POST",
@ -8,6 +9,7 @@ module Fog
:query => {"action" => "resize", "package" => package}
)
end
end
end
end
end