Skip to content

go fix, minor linting fixes, and simplify Windows compatibility release lookup - #37

Open
thaJeztah wants to merge 2 commits into
containerd:mainfrom
thaJeztah:modernize
Open

go fix, minor linting fixes, and simplify Windows compatibility release lookup#37
thaJeztah wants to merge 2 commits into
containerd:mainfrom
thaJeztah:modernize

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

Use slices.Backward, as suggested by go fix, to iterate over LTSC releases in reverse order.

Default the compatibility floor to the first release and update it only when the matching release has a predecessor. Adjust the comments to describe the fallback. Compatibility behavior is unchanged.

Use slices.Backward, as suggested by go fix, to iterate over LTSC
releases in reverse order.

Default the compatibility floor to the first release and update it
only when the matching release has a predecessor. Adjust the comments
to describe the fallback. Compatibility behavior is unchanged.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant