[#1483] cli: Deprecate --basic-acl flag
All checks were successful
DCO action / DCO (pull_request) Successful in 3m31s
Tests and linters / Run gofumpt (pull_request) Successful in 4m16s
Tests and linters / Staticcheck (pull_request) Successful in 4m40s
Vulncheck / Vulncheck (pull_request) Successful in 4m59s
Build / Build Components (pull_request) Successful in 5m20s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m23s
Tests and linters / gopls check (pull_request) Successful in 5m33s
Tests and linters / Tests with -race (pull_request) Successful in 6m14s
Tests and linters / Lint (pull_request) Successful in 6m25s
Tests and linters / Tests (pull_request) Successful in 6m47s
All checks were successful
DCO action / DCO (pull_request) Successful in 3m31s
Tests and linters / Run gofumpt (pull_request) Successful in 4m16s
Tests and linters / Staticcheck (pull_request) Successful in 4m40s
Vulncheck / Vulncheck (pull_request) Successful in 4m59s
Build / Build Components (pull_request) Successful in 5m20s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m23s
Tests and linters / gopls check (pull_request) Successful in 5m33s
Tests and linters / Tests with -race (pull_request) Successful in 6m14s
Tests and linters / Lint (pull_request) Successful in 6m25s
Tests and linters / Tests (pull_request) Successful in 6m47s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
7645553881
commit
3f801ca593
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