Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX]: import all requested images (#701, @mszostok) #701

Merged
merged 2 commits into from
Aug 18, 2021

Conversation

mszostok
Copy link
Contributor

@mszostok mszostok commented Aug 4, 2021

What

Unfortunately, the PR #653 broke the k3d image import command. Since then, you can import only the first found image due to break instead of continue statement in for loop.

This PR fixes that bug and adds test coverage to avoid regression in the future.

Why

Fix #700

Implications

None

@iwilltry42 iwilltry42 added bug Something isn't working enhancement New feature or request labels Aug 18, 2021
@iwilltry42 iwilltry42 added this to the v4.4.8 milestone Aug 18, 2021
@iwilltry42 iwilltry42 self-requested a review August 18, 2021 11:33
Copy link
Member

@iwilltry42 iwilltry42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@iwilltry42
Copy link
Member

Now that was a nasty bug.. thanks for fixing this @mszostok ! :)

@iwilltry42 iwilltry42 changed the title [FIX]: import all requested images [FIX]: import all requested images (#701, @mszostok) Aug 18, 2021
@iwilltry42 iwilltry42 merged commit 0c02607 into k3d-io:main Aug 18, 2021
rancherio-gh-m pushed a commit that referenced this pull request Aug 18, 2021
Author: Mateusz Szostok <[email protected]>
Date:   Wed Aug 18 13:35:07 2021 +0200

    [FIX]: import all requested images (#701, @mszostok)
@mszostok mszostok deleted the fix-load-images branch August 18, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Only the first found image is imported into k3d cluster
2 participants