Skip to content

[Backport release-1.34] Use filepath.Join for local filesystem paths#7313

Merged
twz123 merged 1 commit intok0sproject:release-1.34from
twz123:backport-7282-to-release-1.34
Mar 19, 2026
Merged

[Backport release-1.34] Use filepath.Join for local filesystem paths#7313
twz123 merged 1 commit intok0sproject:release-1.34from
twz123:backport-7282-to-release-1.34

Conversation

Most (all?) of these code paths are not used in production on
Windows, but they represent local file system paths and should use
filepath.Join() rather than path.Join().

Leave path.Join() alone when operating on anything other than local file
system paths.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
(cherry picked from commit 9971cd2)
(cherry picked from commit 1695d3e)
@twz123 twz123 added chore backport/release-1.33 PR that needs to be backported/cherrypicked to the release-1.33 branch labels Mar 19, 2026
@twz123 twz123 marked this pull request as ready for review March 19, 2026 09:37
@twz123 twz123 requested review from a team as code owners March 19, 2026 09:37
@twz123 twz123 requested review from jnummelin and ncopa March 19, 2026 09:37
@twz123 twz123 enabled auto-merge March 19, 2026 09:37
@twz123 twz123 merged commit 7ea8ae9 into k0sproject:release-1.34 Mar 19, 2026
203 of 204 checks passed
@twz123 twz123 deleted the backport-7282-to-release-1.34 branch March 19, 2026 10:41
@k0s-bot
Copy link
Copy Markdown
Contributor

k0s-bot commented Mar 19, 2026

Successfully created backport PR for release-1.33:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/release-1.33 PR that needs to be backported/cherrypicked to the release-1.33 branch chore

3 participants