cmd/tools/segment-verify: satisfy wastedassign linter

The assignemnt to `err = nil` is not used in the rest of the code,
however, this was a protective err = nil assignment.

Change-Id: Id70fb2a2e68b91e2481952d865334e603ca41188
This commit is contained in:
Egon Elbre 2023-03-31 10:54:51 +03:00
parent f3bf45aa56
commit a1e920bbdf

View File

@ -99,7 +99,6 @@ func (service *NodeVerifier) Verify(ctx context.Context, alias metabase.NodeAlia
}
if err != nil {
service.log.Debug("fallback to download method", zap.Error(err))
err = nil
}
service.log.Debug("verify segments by downloading pieces")