From af8d8f7e1da4b32d837428f013b7b68510347343 Mon Sep 17 00:00:00 2001 From: Naka Masato Date: Fri, 25 Mar 2022 09:24:13 +0900 Subject: [PATCH] Update runnerdeployment_webhook.go (#1271) --- api/v1alpha1/runnerdeployment_webhook.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v1alpha1/runnerdeployment_webhook.go b/api/v1alpha1/runnerdeployment_webhook.go index 3f5626fe..91a034d6 100644 --- a/api/v1alpha1/runnerdeployment_webhook.go +++ b/api/v1alpha1/runnerdeployment_webhook.go @@ -26,7 +26,7 @@ import ( ) // log is for logging in this package. -var runenrDeploymentLog = logf.Log.WithName("runnerdeployment-resource") +var runnerDeploymentLog = logf.Log.WithName("runnerdeployment-resource") func (r *RunnerDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error { return ctrl.NewWebhookManagedBy(mgr). @@ -49,13 +49,13 @@ var _ webhook.Validator = &RunnerDeployment{} // ValidateCreate implements webhook.Validator so a webhook will be registered for the type func (r *RunnerDeployment) ValidateCreate() error { - runenrDeploymentLog.Info("validate resource to be created", "name", r.Name) + runnerDeploymentLog.Info("validate resource to be created", "name", r.Name) return r.Validate() } // ValidateUpdate implements webhook.Validator so a webhook will be registered for the type func (r *RunnerDeployment) ValidateUpdate(old runtime.Object) error { - runenrDeploymentLog.Info("validate resource to be updated", "name", r.Name) + runnerDeploymentLog.Info("validate resource to be updated", "name", r.Name) return r.Validate() }