summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2020-08-09 13:58:10 +0200
committerGitHub <noreply@github.com>2020-08-09 13:58:10 +0200
commitf762bc0b767e52d9cf406080901dded2ef4f602c (patch)
tree105a213951b583ee5c33ce61ca1235e81f76a988 /pkg
parent9f0ae9911ae2036d9183b3d3589d3e035f1a39db (diff)
chore: Print correct image tag in trace message (#20)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/registry/registry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/registry/registry.go b/pkg/registry/registry.go
index fe0c719..0c08595 100644
--- a/pkg/registry/registry.go
+++ b/pkg/registry/registry.go
@@ -98,7 +98,7 @@ func (clientInfo *RegistryEndpoint) GetTags(img *image.ContainerImage, kubeClien
// Creation date is stored as RFC3339 timestamp with nanoseconds, i.e. like
// this: 2017-12-01T23:06:12.607835588Z
- log.Tracef("Found origin creation date for %s: %s", img.GetFullNameWithTag(), crStr)
+ log.Tracef("Found origin creation date for %s: %s", tagStr, crStr)
crDate, err := time.Parse(time.RFC3339Nano, crStr)
if err != nil {
log.Warnf("Could not parse creation timestamp for %s (%s): %v", img.GetFullNameWithTag(), crStr, err)