-
Notifications
You must be signed in to change notification settings - Fork 712
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
Show image tag in node details #3173
Conversation
941fec9
to
ad6d996
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few nits and suggestions. :)
probe/docker/registry.go
Outdated
// ImageNameWithoutVersion splits the image name apart, returning the name | ||
// without the version, if possible | ||
func ImageNameWithoutVersion(name string) string { | ||
// ImageNameParts returns parts of the full image name (image name, image tag). |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
probe/docker/registry.go
Outdated
|
||
// ImageNameWithoutVersion splits the image name apart, returning the name | ||
// without the version, if possible | ||
func ImageNameWithoutVersion(name string) string { |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@lilic PTAL. |
8e846b7
to
bfb20a8
Compare
ImageName: "Name", | ||
// Prepend spaces as a hack to keep at the top when sorted. | ||
ImageID: " ID", | ||
ImageName: " Name", |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Resolves #3161.