Skip to content

Commit b9e1f58

Browse files
authored
docs(rdb): remove misleading statement in CreateEndpoint (#3191)
1 parent d7705c3 commit b9e1f58

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cmd/scw/testdata/test-all-usage-rdb-endpoint-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request. Note that this action replaces your current endpoint, which means you might need to update any environment configurations that point to the old endpoint.
3+
Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request.
44

55
USAGE:
66
scw rdb endpoint create [arg=value ...]

docs/commands/rdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ Load Balancers are used to forward traffic to the right node based on the node s
474474

475475
### Create a new Database Instance endpoint
476476

477-
Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request. Note that this action replaces your current endpoint, which means you might need to update any environment configurations that point to the old endpoint.
477+
Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request.
478478

479479
**Usage:**
480480

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ require (
2424
github.com/moby/buildkit v0.11.6
2525
github.com/opencontainers/go-digest v1.0.0
2626
github.com/pkg/errors v0.9.1
27-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230608145429-08cd06fad93c
27+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230608153851-73ec83a33b85
2828
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2929
github.com/spf13/cobra v1.7.0
3030
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncj
497497
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
498498
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
499499
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
500-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230608145429-08cd06fad93c h1:hDAi9w4cls5c/h8ZdneF4hbduTxgKkk1jc0e96yMhew=
501-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230608145429-08cd06fad93c/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
500+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230608153851-73ec83a33b85 h1:Bb4gsZFi9o4RpbK9fkmObV/7L74NxuWzuzJT0KfM++M=
501+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230608153851-73ec83a33b85/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
502502
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
503503
github.com/secure-systems-lab/go-securesystemslib v0.4.0 h1:b23VGrQhTA8cN2CbBw7/FulN9fTtqYUdS5+Oxzt+DUE=
504504
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=

internal/namespaces/rdb/v1/rdb_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,7 @@ func rdbSnapshotRestore() *core.Command {
26632663
func rdbEndpointCreate() *core.Command {
26642664
return &core.Command{
26652665
Short: `Create a new Database Instance endpoint`,
2666-
Long: `Create a new endpoint for a Database Instance. You can add ` + "`" + `load_balancer` + "`" + ` and ` + "`" + `private_network` + "`" + ` specifications to the body of the request. Note that this action replaces your current endpoint, which means you might need to update any environment configurations that point to the old endpoint.`,
2666+
Long: `Create a new endpoint for a Database Instance. You can add ` + "`" + `load_balancer` + "`" + ` and ` + "`" + `private_network` + "`" + ` specifications to the body of the request.`,
26672667
Namespace: "rdb",
26682668
Resource: "endpoint",
26692669
Verb: "create",

0 commit comments

Comments
 (0)