Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amold1 committed Aug 16, 2024
1 parent bb66598 commit 0ceb101
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions controller/linodecluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"context"
"fmt"
"net/http"
"strings"
"time"

"github.com/go-logr/logr"
Expand Down Expand Up @@ -139,8 +140,8 @@ func (r *LinodeClusterReconciler) reconcile(
}()

labels := map[string]string{
clusterv1.ClusterNameLabel: clusterScope.LinodeCluster.Name,
clusterv1.MachineControlPlaneNameLabel: clusterScope.LinodeCluster.Name + "-control-plane"
clusterv1.ClusterNameLabel: clusterScope.LinodeCluster.Name,
clusterv1.MachineControlPlaneNameLabel: clusterScope.LinodeCluster.Name + "-control-plane",
}
if err := r.TracedClient().List(ctx, &clusterScope.LinodeMachines, client.InNamespace(clusterScope.LinodeCluster.Namespace), client.MatchingLabels(labels)); err != nil {
return res, err
Expand Down

0 comments on commit 0ceb101

Please sign in to comment.