Skip to content

Commit a8425da

Browse files
committed
Remove useless logging for port loop
1 parent 7b202d1 commit a8425da

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

controllers/openstackcluster_controller.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,6 @@ func getBastionSecurityGroups(openStackCluster *infrav1.OpenStackCluster) []infr
544544
}
545545

546546
func getOrCreateBastionPorts(scope *scope.WithLogger, cluster *clusterv1.Cluster, openStackCluster *infrav1.OpenStackCluster, networkingService *networking.Service, clusterName string) error {
547-
scope.Logger().Info("Reconciling ports for bastion", "bastion", bastionName(openStackCluster.Name))
548-
549547
if openStackCluster.Status.Bastion == nil {
550548
openStackCluster.Status.Bastion = &infrav1.BastionStatus{}
551549
}

controllers/openstackmachine_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,6 @@ func (r *OpenStackMachineReconciler) reconcileNormal(ctx context.Context, scope
491491
}
492492

493493
func getOrCreateMachinePorts(scope *scope.WithLogger, openStackCluster *infrav1.OpenStackCluster, machine *clusterv1.Machine, openStackMachine *infrav1.OpenStackMachine, networkingService *networking.Service, clusterName string) error {
494-
scope.Logger().Info("Reconciling ports for machine", "machine", machine.Name)
495494
var machinePortsStatus []infrav1.PortStatus
496495
var err error
497496

0 commit comments

Comments
 (0)