From b01e6d5857fa6b1a9ec241b3cc9b5a9a7c334a7d Mon Sep 17 00:00:00 2001 From: Max Shaposhnyk Date: Thu, 30 May 2024 16:02:52 +0300 Subject: [PATCH] Fixups Signed-off-by: Max Shaposhnyk --- controllers/imagerepository_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/imagerepository_controller.go b/controllers/imagerepository_controller.go index fe2a671..ea04319 100644 --- a/controllers/imagerepository_controller.go +++ b/controllers/imagerepository_controller.go @@ -587,7 +587,7 @@ func (r *ImageRepositoryReconciler) ChangeImageRepositoryVisibility(ctx context. } func (r *ImageRepositoryReconciler) EnsureSecret(ctx context.Context, imageRepository *imagerepositoryv1alpha1.ImageRepository, secretName string, robotAccount *quay.RobotAccount, imageURL string, isPull bool) error { - log := ctrllog.FromContext(ctx).WithValues("RemoteSecretName", secretName) + log := ctrllog.FromContext(ctx).WithValues("SecretName", secretName) secret := &corev1.Secret{} secretKey := types.NamespacedName{Namespace: imageRepository.Namespace, Name: secretName}