Skip to content

Commit

Permalink
fix: remove adding router to spec
Browse files Browse the repository at this point in the history
  • Loading branch information
simonostendorf committed Jan 15, 2025
1 parent e400aad commit fe39a17
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controllers/openstackcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,10 +740,6 @@ func reconcilePreExistingNetworkComponents(scope *scope.WithLogger, networkingSe
setClusterNetwork(openStackCluster, network)
}

if openStackCluster.Status.Router == nil {
openStackCluster.Status.Router = &infrav1.Router{}
}

if openStackCluster.Spec.Router != nil {
router, err := networkingService.GetRouterByParam(openStackCluster.Spec.Router)
if err != nil {
Expand Down

0 comments on commit fe39a17

Please sign in to comment.