1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00

fix: image logger (#8040)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-08-16 14:49:21 +02:00 committed by GitHub
parent 703b63d151
commit 7ea68ba290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,10 +6,10 @@ import (
"github.com/distribution/distribution/reference"
"github.com/kyverno/kyverno/pkg/config"
"sigs.k8s.io/controller-runtime/pkg/log"
"github.com/kyverno/kyverno/pkg/logging"
)
var logger = log.Log.WithName("image")
var logger = logging.WithName("image")
type ImageInfo struct {
// Registry is the URL address of the image registry e.g. `docker.io`