mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Change default for vpc_id from '' to nil
This commit is contained in:
parent
db8d7abf16
commit
17b44b2103
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ module Fog
|
|||
# * 'return'<~Boolean> - success?
|
||||
#
|
||||
# {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateSecurityGroup.html]
|
||||
def create_security_group(name, description, vpc_id='')
|
||||
def create_security_group(name, description, vpc_id=nil)
|
||||
request(
|
||||
'Action' => 'CreateSecurityGroup',
|
||||
'GroupName' => name,
|
||||
|
@ -32,7 +32,7 @@ module Fog
|
|||
|
||||
class Mock
|
||||
|
||||
def create_security_group(name, description, vpc_id='')
|
||||
def create_security_group(name, description, vpc_id=nil)
|
||||
response = Excon::Response.new
|
||||
unless self.data[:security_groups][name]
|
||||
data = {
|
||||
|
|
Loading…
Add table
Reference in a new issue