[#1483] cli: Deprecate --basic-acl flag
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 2m27s
DCO action / DCO (pull_request) Successful in 2m46s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m56s
Vulncheck / Vulncheck (pull_request) Successful in 3m45s
Build / Build Components (pull_request) Successful in 4m3s
Tests and linters / Tests (pull_request) Successful in 4m3s
Tests and linters / Staticcheck (pull_request) Successful in 4m4s
Tests and linters / gopls check (pull_request) Successful in 4m48s
Tests and linters / Lint (pull_request) Successful in 5m43s
Tests and linters / Tests with -race (pull_request) Successful in 7m7s
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 2m27s
DCO action / DCO (pull_request) Successful in 2m46s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m56s
Vulncheck / Vulncheck (pull_request) Successful in 3m45s
Build / Build Components (pull_request) Successful in 4m3s
Tests and linters / Tests (pull_request) Successful in 4m3s
Tests and linters / Staticcheck (pull_request) Successful in 4m4s
Tests and linters / gopls check (pull_request) Successful in 4m48s
Tests and linters / Lint (pull_request) Successful in 5m43s
Tests and linters / Tests with -race (pull_request) Successful in 7m7s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
73bfadd6ad
commit
adeebdeba2
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ func initContainerCreateCmd() {
|
||||||
flags.StringVar(&containerACL, "basic-acl", acl.NamePrivate, fmt.Sprintf("HEX encoded basic ACL value or keywords like '%s', '%s', '%s'",
|
flags.StringVar(&containerACL, "basic-acl", acl.NamePrivate, fmt.Sprintf("HEX encoded basic ACL value or keywords like '%s', '%s', '%s'",
|
||||||
acl.NamePublicRW, acl.NamePrivate, acl.NamePublicROExtended,
|
acl.NamePublicRW, acl.NamePrivate, acl.NamePublicROExtended,
|
||||||
))
|
))
|
||||||
|
_ = flags.MarkDeprecated("basic-acl", "it will be removed in the next version of frostfs-cli.") // No error, flag exists.
|
||||||
|
|
||||||
flags.StringVarP(&containerPolicy, "policy", "p", "", "QL-encoded or JSON-encoded placement policy or path to file with it")
|
flags.StringVarP(&containerPolicy, "policy", "p", "", "QL-encoded or JSON-encoded placement policy or path to file with it")
|
||||||
flags.StringSliceVarP(&containerAttributes, "attributes", "a", nil, "Comma separated pairs of container attributes in form of Key1=Value1,Key2=Value2")
|
flags.StringSliceVarP(&containerAttributes, "attributes", "a", nil, "Comma separated pairs of container attributes in form of Key1=Value1,Key2=Value2")
|
||||||
flags.BoolVar(&containerAwait, "await", false, "Block execution until container is persisted")
|
flags.BoolVar(&containerAwait, "await", false, "Block execution until container is persisted")
|
||||||
|
|
Loading…
Reference in a new issue