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

[Brightbox] Use correct request to update account

Actually use the correct API request to update a nominated account.
This commit is contained in:
Paul Thornthwaite 2012-11-02 20:17:04 +00:00
parent 5366815418
commit 014724e748

View file

@ -52,7 +52,7 @@ module Fog
Fog::Logger.deprecation("update_account() without a parameter is deprecated, use update_scoped_account instead [light_black](#{caller.first})[/]")
update_scoped_account(options)
else
request("put", "/1.0/account", [200], options)
request("put", "/1.0/accounts/#{identifier}", [200], options)
end
end