[#1465] Makefile: Update golangci-lint, fix warnings

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-10-31 09:13:50 +03:00 committed by Evgenii Stratonikov
parent 2285cfc36f
commit c2effcc61c
4 changed files with 4 additions and 4 deletions

View file

@ -284,7 +284,7 @@ func (e *ECWriter) writePart(ctx context.Context, obj *objectSDK.Object, partIdx
}
// try to save to any node not visited by current part
for i := range len(nodes) {
for i := range nodes {
select {
case <-ctx.Done():
return ctx.Err()