Skip to content

Commit

Permalink
[Brightbox] Use correct request to update account
Browse files Browse the repository at this point in the history
Actually use the correct API request to update a nominated account.
  • Loading branch information
tokengeek committed Nov 2, 2012
1 parent 5366815 commit 014724e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/brightbox/requests/compute/update_account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def update_account(*args)
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

Expand Down

0 comments on commit 014724e

Please sign in to comment.