modernize some code by thaJeztah · Pull Request #13588 · docker/compose

@thaJeztah

Results of running the modernize command, with some minor changes
afterwards (removing the `contains` and `hasStatus` helper functions);

    go install golang.org/x/tools/go/analysis/passes/modernize/cmd/modernize@latest
    modernize -fix ./...

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request

Feb 25, 2026

@tmeijn