Skip to content

Commit 442f079

Browse files
authored
docs(file): update file description and add more file examples (#4697)
1 parent 4ad153a commit 442f079

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/mattn/go-isatty v0.0.20
2424
github.com/moby/buildkit v0.13.2
2525
github.com/opencontainers/go-digest v1.0.0
26-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250422095315-6f998f4655ec
26+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250425155221-30ae936d86f6
2727
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2828
github.com/spf13/cobra v1.9.1
2929
github.com/spf13/pflag v1.0.6

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
466466
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
467467
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
468468
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
469-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250422095315-6f998f4655ec h1:XLNQFZzigDYXgdRHPxuV3w5VnKvnsCVbl8HBpvDYu40=
470-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250422095315-6f998f4655ec/go.mod h1:w4o02EHpO0CBGy2nehzWRaFQKd62G9HIf+Q07PDaUcE=
469+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250425155221-30ae936d86f6 h1:8gDJ72j/by4RH6VDkW9lTPpdve5v7Ou2ypD4ZbGzYvY=
470+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250425155221-30ae936d86f6/go.mod h1:w4o02EHpO0CBGy2nehzWRaFQKd62G9HIf+Q07PDaUcE=
471471
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
472472
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
473473
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/file/v1alpha1/file_cli.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"reflect"
99

1010
"github.com/scaleway/scaleway-cli/v2/core"
11-
file "github.com/scaleway/scaleway-sdk-go/api/file/v1alpha1"
11+
"github.com/scaleway/scaleway-sdk-go/api/file/v1alpha1"
1212
"github.com/scaleway/scaleway-sdk-go/scw"
1313
)
1414

@@ -310,9 +310,8 @@ func fileFilesystemDelete() *core.Command {
310310

311311
func fileFilesystemUpdate() *core.Command {
312312
return &core.Command{
313-
Short: `Update filesystem properties`,
314-
Long: `Update the technical details of a filesystem, such as its name, tags or its new size.
315-
You can only resize a filesystem to a larger size.`,
313+
Short: `Update filesystem properties`,
314+
Long: `Update the technical details of a filesystem, such as its name, tags or its new size.`,
316315
Namespace: "file",
317316
Resource: "filesystem",
318317
Verb: "update",

0 commit comments

Comments
 (0)