From 1e973dcab29d98af8267560764297150d1227fa8 Mon Sep 17 00:00:00 2001 From: ruifaling Date: Fri, 24 Jun 2022 11:17:22 +0800 Subject: [PATCH] fix typo err #618 --- controllers/infrastructure/bootstrapkubeconfig_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/infrastructure/bootstrapkubeconfig_controller.go b/controllers/infrastructure/bootstrapkubeconfig_controller.go index 3fad008df..5a50dd556 100644 --- a/controllers/infrastructure/bootstrapkubeconfig_controller.go +++ b/controllers/infrastructure/bootstrapkubeconfig_controller.go @@ -95,8 +95,8 @@ func (r *BootstrapKubeconfigReconciler) Reconcile(ctx context.Context, req ctrl. return ctrl.Result{}, err } - bootstrapKuubeconfigDataStr := string(runtimeEncodedBootstrapKubeConfig) - bootstrapKubeconfig.Status.BootstrapKubeconfigData = &bootstrapKuubeconfigDataStr + bootstrapKubeconfigDataStr := string(runtimeEncodedBootstrapKubeConfig) + bootstrapKubeconfig.Status.BootstrapKubeconfigData = &bootstrapKubeconfigDataStr return ctrl.Result{}, helper.Patch(ctx, bootstrapKubeconfig) }