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

[aws|auto_scaling] fix AutoScalingGroupName in mock

This commit is contained in:
Nick Osborn 2012-09-22 19:10:10 +01:00
parent 5e78efac56
commit 914c81c670

View file

@ -102,7 +102,7 @@ module Fog
end end
data[:auto_scaling_groups][auto_scaling_group_name] = { data[:auto_scaling_groups][auto_scaling_group_name] = {
'AutoScalingGroupARN' => Fog::AWS::Mock.arn('autoscaling', @owner_id, "autoScalingGroup:00000000-0000-0000-0000-000000000000:autoScalingGroupName/#{auto_scaling_group_name}", @region), 'AutoScalingGroupARN' => Fog::AWS::Mock.arn('autoscaling', @owner_id, "autoScalingGroup:00000000-0000-0000-0000-000000000000:autoScalingGroupName/#{auto_scaling_group_name}", @region),
'AutoScalingGroupName' => launch_configuration_name, 'AutoScalingGroupName' => auto_scaling_group_name,
'AvailabilityZones' => availability_zones.to_a, 'AvailabilityZones' => availability_zones.to_a,
'CreatedTime' => Time.now.utc, 'CreatedTime' => Time.now.utc,
'DefaultCooldown' => 300, 'DefaultCooldown' => 300,