Skip to content

Commit c7aa403

Browse files
committed
Remove useless logging for port loop
1 parent 634ccc7 commit c7aa403

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
@@ -543,8 +543,6 @@ func getBastionSecurityGroups(openStackCluster *infrav1.OpenStackCluster) []infr
543543
}
544544

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

controllers/openstackmachine_controller.go

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

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

0 commit comments

Comments
 (0)