From d2ba72ab1515c38ed15992ee8e0f5f3a8a40192c Mon Sep 17 00:00:00 2001 From: Paul Thornthwaite Date: Thu, 6 Oct 2011 11:33:44 +0200 Subject: [PATCH] [brightbox] Added missing requirement and request arg --- lib/fog/brightbox/models/compute/firewall_policy.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fog/brightbox/models/compute/firewall_policy.rb b/lib/fog/brightbox/models/compute/firewall_policy.rb index 1910ca5e1..eed113616 100644 --- a/lib/fog/brightbox/models/compute/firewall_policy.rb +++ b/lib/fog/brightbox/models/compute/firewall_policy.rb @@ -32,10 +32,11 @@ module Fog end def apply_to(server_group_id) + requires :identity options = { :server_group => server_group_id } - data = connection.apply_to_firewall_policy(options) + data = connection.apply_to_firewall_policy(identity, options) merge_attributes(data) true end