Merge "Use _is_dns_integration_supported for _delete_floatingip" into stable/newton

This commit is contained in:
Jenkins 2017-07-07 15:12:53 +00:00 committed by Gerrit Code Review
commit 193eb6c1fe
1 changed files with 1 additions and 1 deletions

View File

@ -1384,7 +1384,7 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase,
def _delete_floatingip(self, context, id):
floatingip = self._get_floatingip(context, id)
floatingip_dict = self._make_floatingip_dict(floatingip)
if utils.is_extension_supported(self._core_plugin, 'dns-integration'):
if self._is_dns_integration_supported:
self._process_dns_floatingip_delete(context, floatingip_dict)
# Foreign key cascade will take care of the removal of the
# floating IP record once the port is deleted. We can't start