Skip to content

Correctly parse and report local image names - #1216

Merged
rnjudge merged 1 commit into
tern-tools:mainfrom
rnjudge:1214-pkgver
Feb 28, 2023
Merged

rnjudge merged 1 commit into
tern-tools:mainfrom
rnjudge:1214-pkgver

Conversation

@rnjudge

@rnjudge rnjudge commented Feb 27, 2023

Copy link
Copy Markdown
Contributor

A recent commit[1] added the ability to analyze local images by adding the docker-daemon: string before the image name. While this works from an analysis point of view, it yields the incorrect string for the container name in Tern's reporting. As a fix, this new commit removes the docker-daemon string when instantiating a new OCIImage or DockerImage object, yielding the correct image name in the reports.

[1]40b981c

Resolves #1214
Resolves #1212

A recent commit[1] added the ability to analyze local images by adding
the `docker-daemon:` string before the image name. While this works
from an analysis point of view, it yields the incorrect string for
the container name in Tern's reporting. As a fix, this new commit
removes the `docker-daemon` string when instantiating a new OCIImage
or DockerImage object, yielding the correct image name in the reports.

[1]tern-tools@40b981c

Resolves tern-tools#1214
Resolves tern-tools#1212

Signed-off-by: Rose Judge <rjudge@vmware.com>
@rnjudge
rnjudge merged commit df242ba into tern-tools:main Feb 28, 2023
@rnjudge
rnjudge deleted the 1214-pkgver branch July 20, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant