1
0
Fork 0
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:
Eugene Howe 2014-06-06 11:04:50 -04:00
parent 1b151ff3ed
commit e89058370d

View file

@ -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