[#1307] cli: Make cli process object.patch
All checks were successful
Tests and linters / Tests (1.21) (pull_request) Successful in 3m7s
DCO action / DCO (pull_request) Successful in 2m55s
Tests and linters / Run gofumpt (pull_request) Successful in 3m4s
Build / Build Components (1.22) (pull_request) Successful in 3m43s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m59s
Build / Build Components (1.21) (pull_request) Successful in 3m51s
Vulncheck / Vulncheck (pull_request) Successful in 4m3s
Tests and linters / Lint (pull_request) Successful in 4m37s
Tests and linters / Tests with -race (pull_request) Successful in 4m58s
Tests and linters / gopls check (pull_request) Successful in 5m15s
Tests and linters / Staticcheck (pull_request) Successful in 5m38s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m39s
All checks were successful
Tests and linters / Tests (1.21) (pull_request) Successful in 3m7s
DCO action / DCO (pull_request) Successful in 2m55s
Tests and linters / Run gofumpt (pull_request) Successful in 3m4s
Build / Build Components (1.22) (pull_request) Successful in 3m43s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m59s
Build / Build Components (1.21) (pull_request) Successful in 3m51s
Vulncheck / Vulncheck (pull_request) Successful in 4m3s
Tests and linters / Lint (pull_request) Successful in 4m37s
Tests and linters / Tests with -race (pull_request) Successful in 4m58s
Tests and linters / gopls check (pull_request) Successful in 5m15s
Tests and linters / Staticcheck (pull_request) Successful in 5m38s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m39s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
4a7c858124
commit
d168ba9beb
1 changed files with 3 additions and 0 deletions
|
@ -239,6 +239,8 @@ func parseAction(lexeme string) ([]string, bool, error) {
|
|||
return []string{nativeschema.MethodRangeObject}, true, nil
|
||||
case "object.hash":
|
||||
return []string{nativeschema.MethodHashObject}, true, nil
|
||||
case "object.patch":
|
||||
return []string{nativeschema.MethodPatchObject}, true, nil
|
||||
case "object.*":
|
||||
return []string{
|
||||
nativeschema.MethodPutObject,
|
||||
|
@ -248,6 +250,7 @@ func parseAction(lexeme string) ([]string, bool, error) {
|
|||
nativeschema.MethodSearchObject,
|
||||
nativeschema.MethodRangeObject,
|
||||
nativeschema.MethodHashObject,
|
||||
nativeschema.MethodPatchObject,
|
||||
}, true, nil
|
||||
case "container.put":
|
||||
return []string{nativeschema.MethodPutContainer}, false, nil
|
||||
|
|
Loading…
Reference in a new issue