1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge remote branch 'coliver/issue-224'

This commit is contained in:
geemus 2011-03-24 11:05:54 -07:00
commit 184a78f301

View file

@ -20,7 +20,7 @@ module Fog
request(
'Action' => 'CreateSecurityGroup',
'GroupName' => name,
'GroupDescription' => CGI.escape(description),
'GroupDescription' => description,
:parser => Fog::Parsers::AWS::Compute::Basic.new
)
end
@ -33,8 +33,8 @@ module Fog
response = Excon::Response.new
unless @data[:security_groups][name]
data = {
'groupDescription' => CGI.escape(description).gsub('%20', '+'),
'groupName' => CGI.escape(name).gsub('%20', '+'),
'groupDescription' => description,
'groupName' => name,
'ipPermissions' => [],
'ownerId' => @owner_id
}