Skip to content

Commit 19714b3

Browse files
committed
Fix
1 parent 1f5e618 commit 19714b3

File tree

7 files changed

+3
-30
lines changed

7 files changed

+3
-30
lines changed

cmd/scw/testdata/test-all-usage-edge-services-cache-stage-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ USAGE:
77

88
ARGS:
99
[fallback-ttl=3600s] Time To Live (TTL) in seconds. Defines how long content is cached
10-
[include-cookies] Defines whether responses to requests with cookies must be stored in the cache
1110
[backend-stage-id] Backend stage ID the cache stage will be linked to
1211
pipeline-id Pipeline ID the Cache stage belongs to
1312
[waf-stage-id]

cmd/scw/testdata/test-all-usage-edge-services-cache-stage-update-usage.golden

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
3+
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
44

55
USAGE:
66
scw edge-services cache-stage update <cache-stage-id ...> [arg=value ...]
77

88
ARGS:
99
cache-stage-id ID of the cache stage to update
1010
[fallback-ttl] Time To Live (TTL) in seconds. Defines how long content is cached
11-
[include-cookies] Defines whether responses to requests with cookies must be stored in the cache
1211
[backend-stage-id] Backend stage ID the cache stage will be linked to
1312
[waf-stage-id]
1413
[route-stage-id]

cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ARGS:
1414
[connection-id] If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link.
1515
[partner-id] If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth.
1616
[peer-asn] For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
17-
[vlan] For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned.
1817
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1918

2019
FLAGS:

docs/commands/edge-services.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ scw edge-services cache-stage create [arg=value ...]
196196
| Name | | Description |
197197
|------|---|-------------|
198198
| fallback-ttl | Default: `3600s` | Time To Live (TTL) in seconds. Defines how long content is cached |
199-
| include-cookies | | Defines whether responses to requests with cookies must be stored in the cache |
200199
| backend-stage-id | | Backend stage ID the cache stage will be linked to |
201200
| pipeline-id | Required | Pipeline ID the Cache stage belongs to |
202201
| waf-stage-id | | |
@@ -264,7 +263,7 @@ scw edge-services cache-stage list [arg=value ...]
264263

265264
### Update cache stage
266265

267-
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
266+
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
268267

269268
**Usage:**
270269

@@ -279,7 +278,6 @@ scw edge-services cache-stage update <cache-stage-id ...> [arg=value ...]
279278
|------|---|-------------|
280279
| cache-stage-id | Required | ID of the cache stage to update |
281280
| fallback-ttl | | Time To Live (TTL) in seconds. Defines how long content is cached |
282-
| include-cookies | | Defines whether responses to requests with cookies must be stored in the cache |
283281
| backend-stage-id | | Backend stage ID the cache stage will be linked to |
284282
| waf-stage-id | | |
285283
| route-stage-id | | |

docs/commands/interlink.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ scw interlink link create [arg=value ...]
113113
| connection-id | | If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link. |
114114
| partner-id | | If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. |
115115
| peer-asn | | For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned. |
116-
| vlan | | For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned. |
117116
| 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 |
118117

119118

internal/namespaces/edge_services/v1beta1/edge_services_cli.go

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -945,13 +945,6 @@ func edgeServicesCacheStageCreate() *core.Command {
945945
Positional: false,
946946
Default: core.DefaultValueSetter("3600s"),
947947
},
948-
{
949-
Name: "include-cookies",
950-
Short: `Defines whether responses to requests with cookies must be stored in the cache`,
951-
Required: false,
952-
Deprecated: false,
953-
Positional: false,
954-
},
955948
{
956949
Name: "backend-stage-id",
957950
Short: `Backend stage ID the cache stage will be linked to`,
@@ -1022,7 +1015,7 @@ func edgeServicesCacheStageGet() *core.Command {
10221015
func edgeServicesCacheStageUpdate() *core.Command {
10231016
return &core.Command{
10241017
Short: `Update cache stage`,
1025-
Long: `Update the parameters of an existing cache stage, specified by its ` + "`" + `cache_stage_id` + "`" + `. Parameters which can be updated include the ` + "`" + `fallback_ttl` + "`" + `, ` + "`" + `include_cookies` + "`" + ` and ` + "`" + `backend_stage_id` + "`" + `.`,
1018+
Long: `Update the parameters of an existing cache stage, specified by its ` + "`" + `cache_stage_id` + "`" + `. Parameters which can be updated include the ` + "`" + `fallback_ttl` + "`" + ` and ` + "`" + `backend_stage_id` + "`" + `.`,
10261019
Namespace: "edge-services",
10271020
Resource: "cache-stage",
10281021
Verb: "update",
@@ -1043,13 +1036,6 @@ func edgeServicesCacheStageUpdate() *core.Command {
10431036
Deprecated: false,
10441037
Positional: false,
10451038
},
1046-
{
1047-
Name: "include-cookies",
1048-
Short: `Defines whether responses to requests with cookies must be stored in the cache`,
1049-
Required: false,
1050-
Deprecated: false,
1051-
Positional: false,
1052-
},
10531039
{
10541040
Name: "backend-stage-id",
10551041
Short: `Backend stage ID the cache stage will be linked to`,

internal/namespaces/interlink/v1beta1/interlink_cli.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -587,13 +587,6 @@ func interlinkLinkCreate() *core.Command {
587587
Deprecated: false,
588588
Positional: false,
589589
},
590-
{
591-
Name: "vlan",
592-
Short: `For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned.`,
593-
Required: false,
594-
Deprecated: false,
595-
Positional: false,
596-
},
597590
core.RegionArgSpec(
598591
scw.RegionFrPar,
599592
scw.RegionNlAms,

0 commit comments

Comments
 (0)