Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafonseca committed Sep 9, 2024
1 parent ce6238b commit 6c4d618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func main() {
for _, kcp := range controlPlanes.Items {
if kcp.Spec.ControllerClass == controllerClass {
setupLog.Info("Starting plan for Kops Control Plane " + kcp.Name)
_, err := controller.Reconcile(context.WithValue(context.WithValue(ctx, "client", mgr.GetAPIReader()), "kcp", kcp), ctrl.Request{})
_, err := controller.Reconcile(context.WithValue(context.WithValue(ctx, controlplane.ClientKey{}, mgr.GetAPIReader()), controlplane.KCPKey{}, kcp), ctrl.Request{})
if err != nil {
setupLog.Error(err, "Error rendering plan for "+kcp.Name)
os.Exit(1)
Expand Down

0 comments on commit 6c4d618

Please sign in to comment.