Skip to content

Commit

Permalink
Remove useless logging for port loop
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilienM committed Feb 27, 2024
1 parent fd37971 commit 9c7f4a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions controllers/openstackcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,6 @@ func getBastionSecurityGroups(openStackCluster *infrav1.OpenStackCluster) []infr
}

func getOrCreateBastionPorts(scope scope.Scope, cluster *clusterv1.Cluster, openStackCluster *infrav1.OpenStackCluster, networkingService *networking.Service, clusterName string) error {
scope.Logger().Info("Reconciling ports for bastion", "bastion", bastionName(openStackCluster.Name))

if openStackCluster.Status.Bastion == nil {
openStackCluster.Status.Bastion = &infrav1.BastionStatus{}
}
Expand Down
1 change: 0 additions & 1 deletion controllers/openstackmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ func (r *OpenStackMachineReconciler) reconcileNormal(ctx context.Context, scope
}

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

Expand Down

0 comments on commit 9c7f4a9

Please sign in to comment.