Skip to content

Commit c21e706

Browse files
committed
fix typo
1 parent 8d9702a commit c21e706

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

cmd/scw/testdata/test-all-usage-k8s-pool-usage.golden

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ AVAILABLE COMMANDS:
1717

1818
LABEL COMMANDS:
1919
remove-label Remove a label from a Pool
20-
set-label Add or edit a taint to a Pool
20+
set-label Apply a label to a Pool
2121

2222
TAINT COMMANDS:
2323
remove-startup-taint Remove a startup taint from a Pool
2424
remove-taint Remove a taint from a Pool
25-
set-startup-taint Add or edit a startup taint to a Pool
26-
set-taint Add or edit a taint to a Pool
25+
set-startup-taint Apply a startup taint to a Pool
26+
set-taint Apply a taint to a Pool
2727

2828
WORKFLOW COMMANDS:
2929
wait Wait for a pool to reach a stable state

docs/commands/k8s.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ This API allows you to manage Kubernetes Kapsule and Kosmos clusters.
4141
- [Remove a label from a Pool](#remove-a-label-from-a-pool)
4242
- [Remove a startup taint from a Pool](#remove-a-startup-taint-from-a-pool)
4343
- [Remove a taint from a Pool](#remove-a-taint-from-a-pool)
44-
- [Add or edit a taint to a Pool](#add-or-edit-a-taint-to-a-pool)
45-
- [Add or edit a startup taint to a Pool](#add-or-edit-a-startup-taint-to-a-pool)
46-
- [Add or edit a taint to a Pool](#add-or-edit-a-taint-to-a-pool)
44+
- [Apply a label to a Pool](#apply-a-label-to-a-pool)
45+
- [Apply a startup taint to a Pool](#apply-a-startup-taint-to-a-pool)
46+
- [Apply a taint to a Pool](#apply-a-taint-to-a-pool)
4747
- [Update a Pool in a Cluster](#update-a-pool-in-a-cluster)
4848
- [Upgrade a Pool in a Cluster](#upgrade-a-pool-in-a-cluster)
4949
- [Wait for a pool to reach a stable state](#wait-for-a-pool-to-reach-a-stable-state)
@@ -1259,7 +1259,7 @@ scw k8s pool remove-taint 11111111-1111-1111-1111-111111111111 key=foo
12591259

12601260

12611261

1262-
### Add or edit a taint to a Pool
1262+
### Apply a label to a Pool
12631263

12641264
Apply a label to all nodes of the pool which will be periodically reconciled by scaleway.
12651265

@@ -1296,7 +1296,7 @@ scw k8s pool set-label 11111111-1111-1111-1111-111111111111 key=organization.exa
12961296

12971297

12981298

1299-
### Add or edit a startup taint to a Pool
1299+
### Apply a startup taint to a Pool
13001300

13011301
Apply a taint at node creation but does not reconcile after.
13021302

@@ -1334,7 +1334,7 @@ scw k8s pool set-startup-taint 11111111-1111-1111-1111-111111111111 key=organiza
13341334

13351335

13361336

1337-
### Add or edit a taint to a Pool
1337+
### Apply a taint to a Pool
13381338

13391339
Apply a taint to all nodes of the pool which will be periodically reconciled by scaleway.
13401340

internal/namespaces/k8s/v1/custom_pool_labels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type k8sPoolSetLabelRequest struct {
1818

1919
func k8sPoolSetLabelCommand() *core.Command {
2020
return &core.Command{
21-
Short: `Add or edit a taint to a Pool`,
21+
Short: `Apply a label to a Pool`,
2222
Long: `Apply a label to all nodes of the pool which will be periodically reconciled by scaleway.`,
2323
Namespace: "k8s",
2424
Resource: "pool",

internal/namespaces/k8s/v1/custom_pool_taints.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type k8sPoolSetTaintRequest struct {
2929

3030
func k8sPoolSetTaintCommand() *core.Command {
3131
return &core.Command{
32-
Short: `Add or edit a taint to a Pool`,
32+
Short: `Apply a taint to a Pool`,
3333
Long: `Apply a taint to all nodes of the pool which will be periodically reconciled by scaleway.`,
3434
Namespace: "k8s",
3535
Resource: "pool",
@@ -191,7 +191,7 @@ type k8sPoolSetStartupTaintRequest struct {
191191

192192
func k8sPoolSetStartupTaintCommand() *core.Command {
193193
return &core.Command{
194-
Short: `Add or edit a startup taint to a Pool`,
194+
Short: `Apply a startup taint to a Pool`,
195195
Long: `Apply a taint at node creation but does not reconcile after.`,
196196
Namespace: "k8s",
197197
Resource: "pool",

0 commit comments

Comments
 (0)