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

Name of container should be checked first #594

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

umermala
Copy link

In most of the cases, the base image is used without making any changes and name label is not provided however, in most use cases, name is provided therefore the Name key should be checked first and then label name and if none is given then just default name

newContainer.Name = name
} else {
newContainer.Name = strings.TrimLeft(ctr.Names[0], "/")
newContainer.Name = "default_name"
Copy link
Owner

Choose a reason for hiding this comment

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

I'd call this 'unknown'

Copy link
Author

Choose a reason for hiding this comment

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

Sure lets call it unknown

Copy link
Author

Choose a reason for hiding this comment

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

Please review now

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

Successfully merging this pull request may close these issues.

3 participants