Skip to content

ci: run golangci-lint#8375

Merged
stasadev merged 1 commit intoddev:mainfrom
stasadev:20260501_stasadev_golangci-lint
May 1, 2026
Merged

ci: run golangci-lint#8375
stasadev merged 1 commit intoddev:mainfrom
stasadev:20260501_stasadev_golangci-lint

Conversation

@stasadev
Copy link
Copy Markdown
Member

@stasadev stasadev commented May 1, 2026

The Issue

New check from golangci-lint 2.12.0:

$ make golangci-lint
golangci-lint: 
pkg/output/output_setup.go:83:6: slicesbackward: backward loop over slice can be modernized using slices.Backward (modernize)
        for i := len(args) - 1; i >= 0; i-- {
            ^
1 issues:
* modernize: 1
make: *** [Makefile:345: golangci-lint] Error 1

How This PR Solves The Issue

Fixes it.

Manual Testing Instructions

Automated Testing Overview

Release/Deployment Notes

@stasadev stasadev requested a review from a team as a code owner May 1, 2026 15:40
@stasadev stasadev force-pushed the 20260501_stasadev_golangci-lint branch from b4edf78 to a1dc9b4 Compare May 1, 2026 15:41
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

@stasadev stasadev merged commit 059dbe9 into ddev:main May 1, 2026
35 of 36 checks passed
@stasadev stasadev deleted the 20260501_stasadev_golangci-lint branch May 1, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant