Skip to content

Commit bdb9a9a

Browse files
scaleway-botLaure-di
authored andcommitted
fix(vpc): fix capitalization (scaleway#4616)
1 parent 577b3b5 commit bdb9a9a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

cmd/scw/testdata/test-all-usage-vpc-rule-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Acl Rules.
3+
ACL Rules.
44

55
USAGE:
66
scw vpc rule <command>
77

88
AVAILABLE COMMANDS:
9-
get Get Acl Rules for VPC
9+
get Get ACL Rules for VPC
1010
set Set VPC ACL rules
1111

1212
FLAGS:

docs/commands/vpc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This API allows you to manage your Virtual Private Clouds (VPCs) and Private Net
1717
- [Return routes with associated next hop data](#return-routes-with-associated-next-hop-data)
1818
- [Update Route](#update-route)
1919
- [Rule management command](#rule-management-command)
20-
- [Get Acl Rules for VPC](#get-acl-rules-for-vpc)
20+
- [Get ACL Rules for VPC](#get-acl-rules-for-vpc)
2121
- [Set VPC ACL rules](#set-vpc-acl-rules)
2222
- [Subnet management command](#subnet-management-command)
2323
- [VPC management command](#vpc-management-command)
@@ -313,10 +313,10 @@ scw vpc route update <route-id ...> [arg=value ...]
313313

314314
## Rule management command
315315

316-
Acl Rules.
316+
ACL Rules.
317317

318318

319-
### Get Acl Rules for VPC
319+
### Get ACL Rules for VPC
320320

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

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/mattn/go-isatty v0.0.20
2626
github.com/moby/buildkit v0.13.2
2727
github.com/opencontainers/go-digest v1.0.0
28-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250324094923-50c5f738c4d6
28+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250326091623-c76ff7151d13
2929
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3030
github.com/spf13/cobra v1.9.1
3131
github.com/spf13/pflag v1.0.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
462462
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
463463
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
464464
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
465-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250324094923-50c5f738c4d6 h1:qbiYj4oaF8rke2GNsdCYrECYyqQsbCwrkjahT/9/I04=
466-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250324094923-50c5f738c4d6/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
465+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250326091623-c76ff7151d13 h1:GLd3G2hvNpzjMUYOdLO79M+jiicgXnaf8eCKK+nOHLY=
466+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250326091623-c76ff7151d13/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
467467
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
468468
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
469469
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/vpc/v2/vpc_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func vpcRoute() *core.Command {
9898
func vpcRule() *core.Command {
9999
return &core.Command{
100100
Short: `Rule management command`,
101-
Long: `Acl Rules.`,
101+
Long: `ACL Rules.`,
102102
Namespace: "vpc",
103103
Resource: "rule",
104104
}
@@ -839,7 +839,7 @@ func vpcRouteDelete() *core.Command {
839839

840840
func vpcRuleGet() *core.Command {
841841
return &core.Command{
842-
Short: `Get Acl Rules for VPC`,
842+
Short: `Get ACL Rules for VPC`,
843843
Long: `Retrieve a list of ACL rules for a VPC, specified by its VPC ID.`,
844844
Namespace: "vpc",
845845
Resource: "rule",

0 commit comments

Comments
 (0)