Skip to content

Commit c773ca0

Browse files
authored
Merge pull request #950 from Nordix/move-ports-to-networking
🏃 Refactor all network client calls into networking package
2 parents ed56be1 + bd0e3cb commit c773ca0

File tree

8 files changed

+547
-419
lines changed

8 files changed

+547
-419
lines changed

pkg/cloud/services/compute/bastion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func (s *Service) CreateBastion(openStackCluster *infrav1.OpenStackCluster, clus
3333
RootVolume: openStackCluster.Spec.Bastion.Instance.RootVolume,
3434
}
3535

36-
securityGroups, err := s.getSecurityGroups(openStackCluster.Spec.Bastion.Instance.SecurityGroups)
36+
securityGroups, err := s.networkingService.GetSecurityGroups(openStackCluster.Spec.Bastion.Instance.SecurityGroups)
3737
if err != nil {
3838
return nil, err
3939
}

0 commit comments

Comments
 (0)