cli: Deprecate --basic-acl flag
Some checks failed
Tests and linters / Run gofumpt (pull_request) Successful in 58s
DCO action / DCO (pull_request) Failing after 1m18s
Vulncheck / Vulncheck (pull_request) Successful in 2m17s
Build / Build Components (pull_request) Successful in 2m32s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m5s
Tests and linters / Staticcheck (pull_request) Successful in 3m8s
Tests and linters / Lint (pull_request) Successful in 4m20s
Tests and linters / gopls check (pull_request) Successful in 4m23s
Tests and linters / Tests with -race (pull_request) Successful in 5m21s
Tests and linters / Tests (pull_request) Successful in 6m17s
Some checks failed
Tests and linters / Run gofumpt (pull_request) Successful in 58s
DCO action / DCO (pull_request) Failing after 1m18s
Vulncheck / Vulncheck (pull_request) Successful in 2m17s
Build / Build Components (pull_request) Successful in 2m32s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m5s
Tests and linters / Staticcheck (pull_request) Successful in 3m8s
Tests and linters / Lint (pull_request) Successful in 4m20s
Tests and linters / gopls check (pull_request) Successful in 4m23s
Tests and linters / Tests with -race (pull_request) Successful in 5m21s
Tests and linters / Tests (pull_request) Successful in 6m17s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
29d0ff3770
commit
c362ea02c9
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'",
|
||||
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.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")
|
||||
|
|
Loading…
Reference in a new issue