1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: use correct logger in webhook controller (#5083)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-10-20 17:24:42 +02:00 committed by GitHub
parent ad2cbd3b33
commit 0feec9bef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
package webhook
import "sigs.k8s.io/controller-runtime/pkg/log"
import "github.com/kyverno/kyverno/pkg/logging"
var logger = log.Log.WithName(ControllerName)
var logger = logging.ControllerLogger(ControllerName)