mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix for 1.8.7
This commit is contained in:
parent
1b151ff3ed
commit
e89058370d
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ module Fog
|
|||
Fog::Compute::AWS::Mock.data[region][@aws_access_key_id][:security_groups]['amazon-elb-sg']
|
||||
when 'EC2-VPC-Default'
|
||||
# find or create default vpc
|
||||
compute = Fog::Compute::AWS::new(aws_access_key_id: @aws_access_key_id, aws_secret_access_key: @aws_secret_access_key)
|
||||
compute = Fog::Compute::AWS::new(:aws_access_key_id => @aws_access_key_id, :aws_secret_access_key => @aws_secret_access_key)
|
||||
unless vpc = compute.vpcs.all.first
|
||||
vpc = compute.vpcs.create('cidr_block' => '10.0.0.0/24')
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue