Skip to content

Commit

Permalink
add error message if FIP assigned to router
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Demichev committed Nov 16, 2017
1 parent 5a99b6f commit 0879469
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ class ManageIQ::Providers::Openstack::NetworkManager::NetworkRouter < ::NetworkR
:table => ui_lookup(:table => "ext_management_systems")
})
end
if network_ports.any?
unsupported_reason_add(:delete, _("Unable to delete \"#{name}\" because it has associated ports."))
end
end

supports :update do
Expand Down

0 comments on commit 0879469

Please sign in to comment.