Skip to content

Commit

Permalink
fix typo err #618
Browse files Browse the repository at this point in the history
  • Loading branch information
ruifaling committed Jun 24, 2022
1 parent 49a9cdb commit 1e973dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/infrastructure/bootstrapkubeconfig_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1e973dc

Please sign in to comment.