[#1233] cli: Drop debugee from object nodes
All checks were successful
DCO action / DCO (pull_request) Successful in 2m45s
Build / Build Components (1.21) (pull_request) Successful in 3m17s
Vulncheck / Vulncheck (pull_request) Successful in 3m37s
Build / Build Components (1.22) (pull_request) Successful in 5m55s
Pre-commit hooks / Pre-commit (pull_request) Successful in 6m29s
Tests and linters / gopls check (pull_request) Successful in 7m24s
Tests and linters / Staticcheck (pull_request) Successful in 8m8s
Tests and linters / Lint (pull_request) Successful in 8m52s
Tests and linters / Tests (1.21) (pull_request) Successful in 12m16s
Tests and linters / Tests (1.22) (pull_request) Successful in 12m20s
Tests and linters / Tests with -race (pull_request) Successful in 12m24s

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-07-08 11:36:58 +03:00
parent 870c6254b8
commit 03a9a1a516

View file

@ -497,7 +497,6 @@ func isObjectStoredOnNode(ctx context.Context, cmd *cobra.Command, cnrID cid.ID,
if errors.As(err, &notFound) || errors.As(err, &removed) { if errors.As(err, &notFound) || errors.As(err, &removed) {
return false, nil return false, nil
} }
cmd.Printf("failed to get object %s from client\n", objID.EncodeToString())
return false, err return false, err
} }