[#1147] node: Fix issue from gopls
All checks were successful
DCO action / DCO (pull_request) Successful in 4m3s
Vulncheck / Vulncheck (pull_request) Successful in 4m23s
Build / Build Components (1.22) (pull_request) Successful in 4m53s
Build / Build Components (1.21) (pull_request) Successful in 4m58s
Tests and linters / gopls check (pull_request) Successful in 5m18s
Tests and linters / Staticcheck (pull_request) Successful in 6m11s
Tests and linters / Lint (pull_request) Successful in 7m44s
Pre-commit hooks / Pre-commit (pull_request) Successful in 8m38s
Tests and linters / Tests with -race (pull_request) Successful in 9m54s
Tests and linters / Tests (1.21) (pull_request) Successful in 10m6s
Tests and linters / Tests (1.22) (pull_request) Successful in 10m39s

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2024-05-28 12:21:08 +03:00
parent eaaf16bf23
commit 2a4f637861

View file

@ -91,7 +91,7 @@ func (exec *execCtx) formExtendedInfo(ctx context.Context) error {
return nil
}
if err != nil && !apiclient.IsErrObjectAlreadyRemoved(err) {
if !apiclient.IsErrObjectAlreadyRemoved(err) {
// IsErrObjectAlreadyRemoved check is required because splitInfo
// implicitly performs Head request that may return ObjectAlreadyRemoved
// status that is not specified for Delete.