Skip to content

Commit

Permalink
feat(rdb): improve documentation about migrate (#2485)
Browse files Browse the repository at this point in the history
Co-authored-by: Rémy Léone <rleone@scaleway.com>
  • Loading branch information
scaleway-bot and remyleone authored Sep 5, 2022
1 parent 91badbf commit b29886a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Migrate a cluster.
Upgrade your Database for Redis® cluster to a new version or scale it vertically / horizontally. Please note: scaling horizontally your Database for Redis® cluster will renew its TLS certificate.

USAGE:
scw redis cluster migrate <cluster-id ...> [arg=value ...]
Expand Down
2 changes: 1 addition & 1 deletion cmd/scw/testdata/test-all-usage-redis-cluster-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AVAILABLE COMMANDS:
get-certificate Get the TLS certificate of a cluster
list List clusters
metrics Get metrics of a cluster
migrate Migrate a cluster
migrate Migrate your cluster architecture
renew-certificate Renew the TLS certificate of a cluster
update Update a cluster

Expand Down
6 changes: 3 additions & 3 deletions docs/commands/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Managed Database for Redis™ API
- [Get the TLS certificate of a cluster](#get-the-tls-certificate-of-a-cluster)
- [List clusters](#list-clusters)
- [Get metrics of a cluster](#get-metrics-of-a-cluster)
- [Migrate a cluster](#migrate-a-cluster)
- [Migrate your cluster architecture](#migrate-your-cluster-architecture)
- [Renew the TLS certificate of a cluster](#renew-the-tls-certificate-of-a-cluster)
- [Update a cluster](#update-a-cluster)
- [Endpoints management commands](#endpoints-management-commands)
Expand Down Expand Up @@ -269,9 +269,9 @@ scw redis cluster metrics <cluster-id ...> [arg=value ...]



### Migrate a cluster
### Migrate your cluster architecture

Migrate a cluster.
Upgrade your Database for Redis® cluster to a new version or scale it vertically / horizontally. Please note: scaling horizontally your Database for Redis® cluster will renew its TLS certificate.

**Usage:**

Expand Down
4 changes: 2 additions & 2 deletions internal/namespaces/redis/v1alpha1/redis_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ func redisClusterList() *core.Command {

func redisClusterMigrate() *core.Command {
return &core.Command{
Short: `Migrate a cluster`,
Long: `Migrate a cluster.`,
Short: `Migrate your cluster architecture`,
Long: `Upgrade your Database for Redis® cluster to a new version or scale it vertically / horizontally. Please note: scaling horizontally your Database for Redis® cluster will renew its TLS certificate.`,
Namespace: "redis",
Resource: "cluster",
Verb: "migrate",
Expand Down

0 comments on commit b29886a

Please sign in to comment.