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

Do not wrap default route in item.

This commit is contained in:
Robert Clark 2013-08-14 14:28:27 -04:00
parent 8402d4e1b9
commit e5fb267729

View file

@ -42,17 +42,15 @@ module Fog
route_table = {
'routeTableId' => "rtb-#{Fog::Mock.random_hex(8)}",
'vpcId' => vpc["vpcId"],
'routeSet' => [
'item' => {
"destinationCidrBlock" => vpc["cidrBlock"],
"gatewayId" => "local",
"instanceId"=>nil,
"instanceOwnerId"=>nil,
"networkInterfaceId"=>nil,
"state" => "pending",
"origin" => "CreateRouteTable"
}
],
'routeSet' => [{
"destinationCidrBlock" => vpc["cidrBlock"],
"gatewayId" => "local",
"instanceId"=>nil,
"instanceOwnerId"=>nil,
"networkInterfaceId"=>nil,
"state" => "pending",
"origin" => "CreateRouteTable"
}],
'associationSet' => [],
'tagSet' => {}
}