[#1147] node: Fix issue from gopls

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2024-05-28 12:21:08 +03:00 committed by Evgenii Stratonikov
parent 9f80d6d9a2
commit c1af13b47e

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.