diff --git a/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-cid-usage.golden b/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-cid-usage.golden index bec43d23f5..547abf2e7d 100644 --- a/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-cid-usage.golden +++ b/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-cid-usage.golden @@ -10,13 +10,11 @@ USAGE: scw ipfs pin create-by-cid [arg=value ...] ARGS: - volume-id Volume ID on which you want to pin your content - cid CID containing the content you want to pin - [origins.{index}] Node containing the content you want to pin - [name] Pin name - [pin-options.required-zones.{index}] - [pin-options.replication-count] - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) + volume-id Volume ID on which you want to pin your content + cid CID containing the content you want to pin + [origins.{index}] Node containing the content you want to pin + [name] Pin name + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) FLAGS: -h, --help help for create-by-cid diff --git a/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-url-usage.golden b/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-url-usage.golden index 0b6a968046..a3f77e5ad6 100644 --- a/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-url-usage.golden +++ b/cmd/scw/testdata/test-all-usage-ipfs-pin-create-by-url-usage.golden @@ -10,12 +10,10 @@ USAGE: scw ipfs pin create-by-url [arg=value ...] ARGS: - volume-id Volume ID on which you want to pin your content - url URL containing the content you want to pin - [name] Pin name - [pin-options.required-zones.{index}] - [pin-options.replication-count] - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) + volume-id Volume ID on which you want to pin your content + url URL containing the content you want to pin + [name] Pin name + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) FLAGS: -h, --help help for create-by-url diff --git a/docs/commands/ipfs.md b/docs/commands/ipfs.md index 806a883c57..24c8b69844 100644 --- a/docs/commands/ipfs.md +++ b/docs/commands/ipfs.md @@ -44,8 +44,6 @@ scw ipfs pin create-by-cid [arg=value ...] | cid | Required | CID containing the content you want to pin | | origins.{index} | | Node containing the content you want to pin | | name | | Pin name | -| pin-options.required-zones.{index} | | | -| pin-options.replication-count | | | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | @@ -72,8 +70,6 @@ scw ipfs pin create-by-url [arg=value ...] | volume-id | Required | Volume ID on which you want to pin your content | | url | Required | URL containing the content you want to pin | | name | | Pin name | -| pin-options.required-zones.{index} | | | -| pin-options.replication-count | | | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/internal/namespaces/ipfs/v1alpha1/ipfs_cli.go b/internal/namespaces/ipfs/v1alpha1/ipfs_cli.go index 8165e719e0..3c6664ac8e 100644 --- a/internal/namespaces/ipfs/v1alpha1/ipfs_cli.go +++ b/internal/namespaces/ipfs/v1alpha1/ipfs_cli.go @@ -279,18 +279,6 @@ A pin is defined by its ID (UUID), its status (queued, pinning, pinned or failed Deprecated: false, Positional: false, }, - { - Name: "pin-options.required-zones.{index}", - Required: false, - Deprecated: false, - Positional: false, - }, - { - Name: "pin-options.replication-count", - Required: false, - Deprecated: false, - Positional: false, - }, core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { @@ -346,18 +334,6 @@ A pin is defined by its ID (UUID), its status (queued, pinning, pinned or failed Deprecated: false, Positional: false, }, - { - Name: "pin-options.required-zones.{index}", - Required: false, - Deprecated: false, - Positional: false, - }, - { - Name: "pin-options.replication-count", - Required: false, - Deprecated: false, - Positional: false, - }, core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {