From b87c9445f9f966492bb8d7dda72af10926fae5f6 Mon Sep 17 00:00:00 2001 From: Paul Thornthwaite Date: Mon, 29 Oct 2012 17:55:45 +0000 Subject: [PATCH] [Brightbox] Fixes cloud IP options default Originally defaulted as `nil` which meant options could not be trusted as such in the `request` code. --- lib/fog/brightbox/requests/compute/create_cloud_ip.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/brightbox/requests/compute/create_cloud_ip.rb b/lib/fog/brightbox/requests/compute/create_cloud_ip.rb index 5d925a6417..dce696a961 100644 --- a/lib/fog/brightbox/requests/compute/create_cloud_ip.rb +++ b/lib/fog/brightbox/requests/compute/create_cloud_ip.rb @@ -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