Skip to content

Commit

Permalink
fix(vpc): re-enable route (scaleway#4104)
Browse files Browse the repository at this point in the history
Co-authored-by: scaleway-bot <[email protected]>
  • Loading branch information
remyleone and scaleway-bot authored Sep 6, 2024
1 parent 4a9cad7 commit b81380e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/scw/testdata/test-all-usage-vpc-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ USAGE:

AVAILABLE COMMANDS:
private-network Private network management command
route Route management command
routes Routes management command
subnet Subnet management command
vpc VPC management command
Expand Down
15 changes: 15 additions & 0 deletions docs/commands/vpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This API allows you to manage your Virtual Private Clouds (VPCs) and Private Net
- [List Private Networks](#list-private-networks)
- [Migrate Private Networks from zoned to regional](#migrate-private-networks-from-zoned-to-regional)
- [Update Private Network](#update-private-network)
- [Route management command](#route-management-command)
- [Routes management command](#routes-management-command)
- [Return routes with associated next hop data](#return-routes-with-associated-next-hop-data)
- [Subnet management command](#subnet-management-command)
Expand Down Expand Up @@ -184,6 +185,20 @@ scw vpc private-network update <private-network-id ...> [arg=value ...]



## Route management command

Custom routes.

Custom routes.

**Usage:**

```
scw vpc route
```



## Routes management command

Routes management command.
Expand Down
1 change: 0 additions & 1 deletion internal/namespaces/vpc/v2/custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ func GetCommands() *core.Commands {
cmds := GetGeneratedCommands()

cmds.Remove("vpc", "post")
cmds.RemoveResource("vpc", "route")
cmds.MustFind("vpc", "private-network", "get").Override(privateNetworkGetBuilder)
human.RegisterMarshalerFunc(vpc.PrivateNetwork{}, privateNetworkMarshalerFunc)

Expand Down

0 comments on commit b81380e

Please sign in to comment.