Skip to content

Commit

Permalink
make lint-fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Oct 3, 2024
1 parent d41a862 commit 6e91fab
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions controllers/azureasomanagedcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ func (r *AzureASOManagedClusterReconciler) reconcileNormal(ctx context.Context,
return ctrl.Result{}, nil
}


func (r *AzureASOManagedClusterReconciler) reconcilePaused(ctx context.Context, asoManagedCluster *infrav1alpha.AzureASOManagedCluster) (ctrl.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureASOManagedClusterReconciler.reconcilePaused")
defer done()
Expand All @@ -286,7 +285,6 @@ func (r *AzureASOManagedClusterReconciler) reconcilePaused(ctx context.Context,
return ctrl.Result{}, nil
}


func (r *AzureASOManagedClusterReconciler) reconcileDelete(ctx context.Context, asoManagedCluster *infrav1alpha.AzureASOManagedCluster) (ctrl.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx,
"controllers.AzureASOManagedClusterReconciler.reconcileDelete",
Expand Down
2 changes: 0 additions & 2 deletions controllers/azureasomanagedcontrolplane_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ func (r *AzureASOManagedControlPlaneReconciler) reconcileKubeconfig(ctx context.
return r.Patch(ctx, expectedSecret, client.Apply, client.FieldOwner("capz-manager"), client.ForceOwnership)
}


func (r *AzureASOManagedControlPlaneReconciler) reconcilePaused(ctx context.Context, asoManagedControlPlane *infrav1alpha.AzureASOManagedControlPlane) (ctrl.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureASOManagedControlPlaneReconciler.reconcilePaused")
defer done()
Expand All @@ -319,7 +318,6 @@ func (r *AzureASOManagedControlPlaneReconciler) reconcilePaused(ctx context.Cont
return ctrl.Result{}, nil
}


func (r *AzureASOManagedControlPlaneReconciler) reconcileDelete(ctx context.Context, asoManagedControlPlane *infrav1alpha.AzureASOManagedControlPlane) (ctrl.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx,
"controllers.AzureASOManagedControlPlaneReconciler.reconcileDelete",
Expand Down
2 changes: 0 additions & 2 deletions controllers/azureasomanagedmachinepool_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ func expectedNodeLabels(poolName, nodeRG string) map[string]string {
}
}


func (r *AzureASOManagedMachinePoolReconciler) reconcilePaused(ctx context.Context, asoManagedMachinePool *infrav1alpha.AzureASOManagedMachinePool) (ctrl.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureASOManagedMachinePoolReconciler.reconcilePaused")
defer done()
Expand All @@ -322,7 +321,6 @@ func (r *AzureASOManagedMachinePoolReconciler) reconcilePaused(ctx context.Conte
return ctrl.Result{}, nil
}


func (r *AzureASOManagedMachinePoolReconciler) reconcileDelete(ctx context.Context, asoManagedMachinePool *infrav1alpha.AzureASOManagedMachinePool, cluster *clusterv1.Cluster) (ctrl.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx,
"controllers.AzureASOManagedMachinePoolReconciler.reconcileDelete",
Expand Down
1 change: 0 additions & 1 deletion controllers/azurecluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ func (acr *AzureClusterReconciler) reconcileNormal(ctx context.Context, clusterS
return reconcile.Result{}, nil
}


func (acr *AzureClusterReconciler) reconcilePause(ctx context.Context, clusterScope *scope.ClusterScope) (reconcile.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureClusterReconciler.reconcilePause")
defer done()
Expand Down
1 change: 0 additions & 1 deletion controllers/azuremachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ func (amr *AzureMachineReconciler) reconcileNormal(ctx context.Context, machineS
return reconcile.Result{}, nil
}


func (amr *AzureMachineReconciler) reconcilePause(ctx context.Context, machineScope *scope.MachineScope) (reconcile.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureMachine.reconcilePause")
defer done()
Expand Down
1 change: 0 additions & 1 deletion controllers/azuremanagedcontrolplane_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ func (amcpr *AzureManagedControlPlaneReconciler) reconcileNormal(ctx context.Con
return reconcile.Result{}, nil
}


func (amcpr *AzureManagedControlPlaneReconciler) reconcilePause(ctx context.Context, scope *scope.ManagedControlPlaneScope) (reconcile.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureManagedControlPlane.reconcilePause")
defer done()
Expand Down
1 change: 0 additions & 1 deletion controllers/azuremanagedmachinepool_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ func (ammpr *AzureManagedMachinePoolReconciler) reconcileNormal(ctx context.Cont
return reconcile.Result{}, nil
}


func (ammpr *AzureManagedMachinePoolReconciler) reconcilePause(ctx context.Context, scope *scope.ManagedMachinePoolScope) (reconcile.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureManagedMachinePool.reconcilePause")
defer done()
Expand Down
2 changes: 0 additions & 2 deletions exp/controllers/azuremachinepool_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ func (ampr *AzureMachinePoolReconciler) reconcileNormal(ctx context.Context, mac
return reconcile.Result{}, nil
}


func (ampr *AzureMachinePoolReconciler) reconcilePause(ctx context.Context, machinePoolScope *scope.MachinePoolScope) (reconcile.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureMachinePoolReconciler.reconcilePause")
defer done()
Expand All @@ -386,7 +385,6 @@ func (ampr *AzureMachinePoolReconciler) reconcilePause(ctx context.Context, mach
return reconcile.Result{}, nil
}


func (ampr *AzureMachinePoolReconciler) reconcileDelete(ctx context.Context, machinePoolScope *scope.MachinePoolScope, clusterScope infracontroller.ClusterScoper) (reconcile.Result, error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "controllers.AzureMachinePoolReconciler.reconcileDelete")
defer done()
Expand Down

0 comments on commit 6e91fab

Please sign in to comment.