grim/tagpull

Clean up some logging output
draft
2020-06-18, Gary Kramlich
76c18febd8ac
Parents 202bc03ba394
Children 232236236f1a
Clean up some logging output
  • +7 -1
    operator.go
  • --- a/operator.go Thu Jun 18 06:24:52 2020 -0500
    +++ b/operator.go Thu Jun 18 06:33:56 2020 -0500
    @@ -237,7 +237,13 @@
    }
    if localDigest != remoteDigest {
    - log.Infof("image digests differ, cycling pod: %s, %s", localDigest, remoteDigest)
    + log.Debugf(
    + "image %q is out of date: %s != %s",
    + container.Image,
    + localDigest,
    + remoteDigest,
    + )
    + log.Infof("image digests differ, cycling pod")
    return true, nil
    }