diff --git a/cloud/services/publicips/publicips.go b/cloud/services/publicips/publicips.go index b001861751f1..15b091cdb56f 100644 --- a/cloud/services/publicips/publicips.go +++ b/cloud/services/publicips/publicips.go @@ -75,6 +75,7 @@ func (s *Service) Reconcile(ctx context.Context) error { // Delete deletes the public IP with the provided scope. func (s *Service) Delete(ctx context.Context) error { for _, ip := range s.Scope.PublicIPSpecs() { + // TODO: if supporting BYO IP make sure unmanaged IPs aren't deleted s.Scope.V(2).Info("deleting public IP", "public ip", ip.Name) err := s.Client.Delete(ctx, s.Scope.ResourceGroup(), ip.Name) if err != nil && azure.ResourceNotFound(err) {