Skip to content

Commit

Permalink
Merge pull request ManageIQ#161 from alexander-demichev/unsupported-r…
Browse files Browse the repository at this point in the history
…outer-delete

add error message if FIP assigned to router
  • Loading branch information
aufi authored Nov 22, 2017
2 parents 531b627 + fe16fb8 commit 4495c3f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ 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.") % {
:name => name
})
end
end

supports :update do
Expand Down

0 comments on commit 4495c3f

Please sign in to comment.