Skip to content

Commit

Permalink
[Brightbox] Fixes cloud IP options default
Browse files Browse the repository at this point in the history
Originally defaulted as `nil` which meant options could not be trusted
as such in the `request` code.
  • Loading branch information
tokengeek committed Nov 1, 2012
1 parent 0d0cf60 commit b87c944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fog/brightbox/requests/compute/create_cloud_ip.rb
Expand Up @@ -3,8 +3,8 @@ module Compute
class Brightbox
class Real

def create_cloud_ip(options = nil)
request("post", "/1.0/cloud_ips", [201],options)
def create_cloud_ip(options = {})
request("post", "/1.0/cloud_ips", [201], options)
end

end
Expand Down

0 comments on commit b87c944

Please sign in to comment.