Skip to content

cmd/list: Support images without names - #800

Merged
martymichal merged 1 commit into
containers:mainfrom
martymichal:cmd/list/support-images-without-name
Jun 22, 2021
Merged

martymichal merged 1 commit into
containers:mainfrom
martymichal:cmd/list/support-images-without-name

Conversation

@martymichal

Copy link
Copy Markdown
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.

@martymichal martymichal 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
martymichal added a commit to martymichal/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
@martymichal
martymichal force-pushed the cmd/list/support-images-without-name branch from ad58863 to ef313fe Compare June 22, 2021 14:40
martymichal added a commit to martymichal/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
@martymichal
martymichal 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
@martymichal
martymichal force-pushed the cmd/list/support-images-without-name branch from e2426bd to f418dde Compare June 22, 2021 15:11
@olivergs

Copy link
Copy Markdown
Collaborator

Works for me. Tests running Ok.

Thanks!

@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@martymichal
martymichal merged commit c6c2e42 into containers:main Jun 22, 2021
@debarshiray

Copy link
Copy Markdown
Member

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

@martymichal
martymichal 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