[#1322] Use new protobuf marshaler
All checks were successful
DCO action / DCO (pull_request) Successful in 1m43s
Tests and linters / Run gofumpt (pull_request) Successful in 1m34s
Build / Build Components (1.21) (pull_request) Successful in 2m14s
Vulncheck / Vulncheck (pull_request) Successful in 1m57s
Build / Build Components (1.22) (pull_request) Successful in 2m42s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m42s
Tests and linters / Staticcheck (pull_request) Successful in 3m11s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m18s
Tests and linters / Lint (pull_request) Successful in 3m29s
Tests and linters / gopls check (pull_request) Successful in 3m43s
Tests and linters / Tests with -race (pull_request) Successful in 3m56s
Tests and linters / Tests (1.21) (pull_request) Successful in 1m18s

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-19 18:28:53 +03:00
parent cfda9003a7
commit 80bd32e866
29 changed files with 24581 additions and 17533 deletions

View file

@ -117,10 +117,10 @@ func setShardMode(cmd *cobra.Command, _ []string) {
req.SetBody(body)
body.SetMode(mode)
body.SetShardIDList(getShardIDList(cmd))
body.SetShard_ID(getShardIDList(cmd))
reset, _ := cmd.Flags().GetBool(shardClearErrorsFlag)
body.ClearErrorCounter(reset)
body.SetResetErrorCounter(reset)
signRequest(cmd, pk, req)