File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
pkg/cloud/services/networking Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ limitations under the License.
17
17
package networking
18
18
19
19
import (
20
- "errors"
21
20
"time"
22
21
23
22
"github.com/gophercloud/gophercloud/openstack/networking/v2/extensions/attributestags"
@@ -47,11 +46,6 @@ func (s *Service) GetOrCreateFloatingIP(openStackCluster *infrav1.OpenStackClust
47
46
fpCreateOpts .FloatingIP = ip
48
47
}
49
48
50
- // Trying to create a new floating IP is not possible without an external network
51
- if openStackCluster .Status .ExternalNetwork == nil || openStackCluster .Status .ExternalNetwork .ID == "" {
52
- return nil , errors .New ("cannot create floating IP without external network" )
53
- }
54
-
55
49
fpCreateOpts .FloatingNetworkID = openStackCluster .Status .ExternalNetwork .ID
56
50
fpCreateOpts .Description = names .GetDescription (clusterName )
57
51
You can’t perform that action at this time.
0 commit comments