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:
parent
8402d4e1b9
commit
e5fb267729
1 changed files with 9 additions and 11 deletions
|
@ -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' => {}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue