We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7aa8dd + f376aa6 commit 18e017fCopy full SHA for 18e017f
pkg/cloud/isolated_network.go
@@ -141,12 +141,6 @@ func (c *client) GetPublicIP(
141
// Ignore already allocated here since the IP was specified.
142
return publicAddresses.PublicIpAddresses[0], nil
143
} else if publicAddresses.Count > 0 { // Endpoint not specified.
144
- // TODO: Use tags to prevent clash with this logic.
145
- for _, v := range publicAddresses.PublicIpAddresses { // Pick first available address.
146
- if v.Allocated != "" && v.Associatednetworkid == isoNet.Spec.ID && !v.Issourcenat { // IP Already allocated.
147
- return v, nil
148
- }
149
150
for _, v := range publicAddresses.PublicIpAddresses { // Pick first available address.
151
if v.Allocated == "" { // Found un-allocated Public IP.
152
return v, nil
0 commit comments