From b45964778f402c9ad8a444c015555365072704f9 Mon Sep 17 00:00:00 2001 From: guoguodan <58167141+guoguodan@users.noreply.github.com> Date: Fri, 1 Dec 2023 11:04:16 +0800 Subject: [PATCH] Update deploymentrender_default.go (#1833) add log : YurtAppOverrider size --- .../deploymentrender/v1alpha1/deploymentrender_default.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/yurtmanager/webhook/deploymentrender/v1alpha1/deploymentrender_default.go b/pkg/yurtmanager/webhook/deploymentrender/v1alpha1/deploymentrender_default.go index 035af486496..2c4cfabd9da 100644 --- a/pkg/yurtmanager/webhook/deploymentrender/v1alpha1/deploymentrender_default.go +++ b/pkg/yurtmanager/webhook/deploymentrender/v1alpha1/deploymentrender_default.go @@ -117,6 +117,7 @@ func (webhook *DeploymentRenderHandler) Default(ctx context.Context, obj runtime } } + klog.Infof("list YurtAppOverrider, total: %d", len(overriders)) if len(overriders) == 0 { return nil }