Skip to content

fix(vpc): fix capitalization #4616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/scw/testdata/test-all-usage-vpc-rule-usage.golden
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Acl Rules.
ACL Rules.

USAGE:
scw vpc rule <command>

AVAILABLE COMMANDS:
get Get Acl Rules for VPC
get Get ACL Rules for VPC
set Set VPC ACL rules

FLAGS:
Expand Down
6 changes: 3 additions & 3 deletions docs/commands/vpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This API allows you to manage your Virtual Private Clouds (VPCs) and Private Net
- [Return routes with associated next hop data](#return-routes-with-associated-next-hop-data)
- [Update Route](#update-route)
- [Rule management command](#rule-management-command)
- [Get Acl Rules for VPC](#get-acl-rules-for-vpc)
- [Get ACL Rules for VPC](#get-acl-rules-for-vpc)
- [Set VPC ACL rules](#set-vpc-acl-rules)
- [Subnet management command](#subnet-management-command)
- [VPC management command](#vpc-management-command)
Expand Down Expand Up @@ -313,10 +313,10 @@ scw vpc route update <route-id ...> [arg=value ...]

## Rule management command

Acl Rules.
ACL Rules.


### Get Acl Rules for VPC
### Get ACL Rules for VPC

Retrieve a list of ACL rules for a VPC, specified by its VPC ID.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.13.2
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250324094923-50c5f738c4d6
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250326091623-c76ff7151d13
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250324094923-50c5f738c4d6 h1:qbiYj4oaF8rke2GNsdCYrECYyqQsbCwrkjahT/9/I04=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250324094923-50c5f738c4d6/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250326091623-c76ff7151d13 h1:GLd3G2hvNpzjMUYOdLO79M+jiicgXnaf8eCKK+nOHLY=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250326091623-c76ff7151d13/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=
Expand Down
4 changes: 2 additions & 2 deletions internal/namespaces/vpc/v2/vpc_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func vpcRoute() *core.Command {
func vpcRule() *core.Command {
return &core.Command{
Short: `Rule management command`,
Long: `Acl Rules.`,
Long: `ACL Rules.`,
Namespace: "vpc",
Resource: "rule",
}
Expand Down Expand Up @@ -839,7 +839,7 @@ func vpcRouteDelete() *core.Command {

func vpcRuleGet() *core.Command {
return &core.Command{
Short: `Get Acl Rules for VPC`,
Short: `Get ACL Rules for VPC`,
Long: `Retrieve a list of ACL rules for a VPC, specified by its VPC ID.`,
Namespace: "vpc",
Resource: "rule",
Expand Down
Loading