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:
parent
f3bf45aa56
commit
a1e920bbdf
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user