Skip to content

Commit d6920c5

Browse files
feat(cockpit): update naming OB-276 (#4585)
Co-authored-by: Laure-di <[email protected]>
1 parent 94f322f commit d6920c5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cmd/scw/testdata/test-all-usage-cockpit-contact-point-create-usage.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ USAGE:
88
scw cockpit contact-point create [arg=value ...]
99

1010
ARGS:
11-
[project-id] Project ID to use. If none is passed the default project ID will be used
12-
[email.to]
13-
[receive-resolved-notifications] Send an email notification when an alert is marked as resolved
14-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
11+
[project-id] Project ID to use. If none is passed the default project ID will be used
12+
[email.to]
13+
[send-resolved-notifications] Send an email notification when an alert is marked as resolved
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1515

1616
FLAGS:
1717
-h, --help help for create

docs/commands/cockpit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ scw cockpit contact-point create [arg=value ...]
135135
|------|---|-------------|
136136
| project-id | | Project ID to use. If none is passed the default project ID will be used |
137137
| email.to | | |
138-
| receive-resolved-notifications | | Send an email notification when an alert is marked as resolved |
138+
| send-resolved-notifications | | Send an email notification when an alert is marked as resolved |
139139
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
140140

141141

internal/namespaces/cockpit/v1/cockpit_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ If you need to receive alerts for other receivers, you can create additional con
10181018
Positional: false,
10191019
},
10201020
{
1021-
Name: "receive-resolved-notifications",
1021+
Name: "send-resolved-notifications",
10221022
Short: `Send an email notification when an alert is marked as resolved`,
10231023
Required: false,
10241024
Deprecated: false,

0 commit comments

Comments
 (0)