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

cmd/list: Support images without names #800

Merged

Conversation

HarryMichal
Copy link
Member

Some people create images manually. If such created images are recognize
as toolbox images (they have the proper labels) but do not have
a name/tag then 'toolbox list' will panic due to index being out of
range.

@HarryMichal HarryMichal added 6. Minor Change Should not cause breakage 3. Bugfix Fixes a bug 2. Under The Hood Multiple areas of the app are influenced by this ticket labels Jun 22, 2021
HarryMichal added a commit to HarryMichal/toolbox that referenced this pull request Jun 22, 2021
Some people create images manually. If such created images are recognize
as toolbox images (they have the proper labels) but do not have
a name/tag then 'toolbox list' will panic due to index being out of
range.

containers#800
@HarryMichal HarryMichal force-pushed the cmd/list/support-images-without-name branch from ad58863 to ef313fe Compare June 22, 2021 14:40
HarryMichal added a commit to HarryMichal/toolbox that referenced this pull request Jun 22, 2021
Some people create images manually. If such created images are recognize
as toolbox images (they have the proper labels) but do not have
a name/tag then 'toolbox list' will panic due to index being out of
range.

containers#800
@HarryMichal HarryMichal force-pushed the cmd/list/support-images-without-name branch from ef313fe to e2426bd Compare June 22, 2021 15:04
Some people create images manually. If such created images are recognize
as toolbox images (they have the proper labels) but do not have
a name/tag then 'toolbox list' will panic due to index being out of
range.

containers#800
@HarryMichal HarryMichal force-pushed the cmd/list/support-images-without-name branch from e2426bd to f418dde Compare June 22, 2021 15:11
@olivergs
Copy link
Collaborator

Works for me. Tests running Ok.

Thanks!

@softwarefactory-project-zuul
Copy link

Build failed.

@softwarefactory-project-zuul
Copy link

Build failed.

@HarryMichal HarryMichal merged commit c6c2e42 into containers:main Jun 22, 2021
@debarshiray
Copy link
Member

Thanks! Extra brownie points for adding a test. :)

@HarryMichal HarryMichal deleted the cmd/list/support-images-without-name branch November 11, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. Under The Hood Multiple areas of the app are influenced by this ticket 3. Bugfix Fixes a bug 6. Minor Change Should not cause breakage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants