Skip to content

Commit 1e12c5c

Browse files
committed
review changes
1 parent 54cf26a commit 1e12c5c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/stackit_network-area_routing-table_route_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stackit network-area routing-table route create [flags]
1414

1515
```
1616
Create a route with CIDRv4 destination and IPv4 nexthop
17-
$ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv4 --destination-value <ipv4-cidr> --nexthop-type ipv4 --nexthop-value <ipv4-address>
17+
$ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv4 --destination-value <ipv4-cidr> --nexthop-type ipv4 --nexthop-value <ipv4-address>
1818
1919
Create a route with CIDRv6 destination and IPv6 nexthop
2020
$ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv6 --destination-value <ipv6-cidr> --nexthop-type ipv6 --nexthop-value <ipv6-address>

internal/cmd/network-area/routingtable/route/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
6060
Args: args.NoArgs,
6161
Example: examples.Build(
6262
examples.NewExample("Create a route with CIDRv4 destination and IPv4 nexthop",
63-
`$ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv4 --destination-value <ipv4-cidr> --nexthop-type ipv4 --nexthop-value <ipv4-address>`),
63+
`$ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv4 --destination-value <ipv4-cidr> --nexthop-type ipv4 --nexthop-value <ipv4-address>`),
6464

6565
examples.NewExample("Create a route with CIDRv6 destination and IPv6 nexthop",
6666
`$ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv6 --destination-value <ipv6-cidr> --nexthop-type ipv6 --nexthop-value <ipv6-address>`),

internal/cmd/network-area/routingtable/route/delete/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
8484
return fmt.Errorf("delete route from routing-table: %w", err)
8585
}
8686

87-
params.Printer.Outputf("Route %q from routing-table %q deleted.", model.RouteID, model.RoutingTableId)
87+
params.Printer.Outputf("Route %q from routing-table %q deleted.\n", model.RouteID, model.RoutingTableId)
8888
return nil
8989
},
9090
}

internal/cmd/network-area/routingtable/route/update/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func outputResult(p *print.Printer, outputFormat, routingTableId, networkAreaId
131131
return fmt.Errorf("update route response has empty id")
132132
}
133133

134-
p.Outputf("Updated route %q for routing-table %q in network-area %q.", *route.Id, routingTableId, networkAreaId)
134+
p.Outputf("Updated route %q for routing-table %q in network-area %q.\n", *route.Id, routingTableId, networkAreaId)
135135
return nil
136136
})
137137
}

0 commit comments

Comments
 (0)