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

Image with blank name being collected by move2kube collect #1054

Closed
Akash-Nayak opened this issue Jun 28, 2023 · 1 comment
Closed

Image with blank name being collected by move2kube collect #1054

Akash-Nayak opened this issue Jun 28, 2023 · 1 comment
Assignees

Comments

@Akash-Nayak
Copy link
Contributor

Describe the bug
There is a image with blank name getting appended to the images list [quay.io/konveyor/move2kube-ui:latest nginx:stable-alpine ] because of \n character at the end of outputStr which causes warning message - Image [] not available in local image repo. Run "docker pull ".

$ move2kube collect -a dockerswarm --log-level debug

INFO[0000] Begin collection                             
INFO[0000] [*collector.ImagesCollector] Begin collection 
DEBU[0000] images : [quay.io/konveyor/move2kube-ui:latest nginx:stable-alpine ] 
DEBU[0000] UserID not available in image metadata for [quay.io/konveyor/move2kube-ui:latest] 
DEBU[0000] UserID not available in image metadata for [nginx:stable-alpine]       
WARN[0000] Image [] not available in local image repo. Run "docker pull " 
INFO[0000] [*collector.ImagesCollector] Done            
INFO[0000] Collection done                              
INFO[0000] Collect Output in [/Users/akash/github/move2kube-demos/m2k_collect]. Copy this directory into the source directory to be used for planning.

To Reproduce
Steps to reproduce the behavior:

  1. Run move2kube collect -a dockerswarm --log-level debug command

Expected behavior
It should not add image with blank name in the images list.

Desktop (please complete the following information):

  • OS: MacOS M1
@Akash-Nayak
Copy link
Contributor Author

PR #1055 resolved this issue.

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

No branches or pull requests

1 participant