mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[brightbox] Added missing requirement and request arg
This commit is contained in:
parent
298d1a9192
commit
d2ba72ab15
1 changed files with 2 additions and 1 deletions
|
@ -32,10 +32,11 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def apply_to(server_group_id)
|
def apply_to(server_group_id)
|
||||||
|
requires :identity
|
||||||
options = {
|
options = {
|
||||||
:server_group => server_group_id
|
:server_group => server_group_id
|
||||||
}
|
}
|
||||||
data = connection.apply_to_firewall_policy(options)
|
data = connection.apply_to_firewall_policy(identity, options)
|
||||||
merge_attributes(data)
|
merge_attributes(data)
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue