[NSX|p] delete_service_router does not need context

Change-Id: If8266dd8cf0a089cabda169ea0effbb55162f252
This commit is contained in:
Salvatore Orlando 2019-06-17 06:26:26 -07:00
parent 732ba2a2c8
commit 600b68e7c9

View File

@ -359,8 +359,7 @@ class NsxpFwaasCallbacksV2(com_callbacks.NsxCommonv3FwaasCallbacksV2):
if not router_with_services and sr_exists_on_backend:
# No other services that require service router: delete it
# This also deleted the gateway policy.
self.core_plugin.delete_service_router(
context, router_id)
self.core_plugin.delete_service_router(router_id)
sr_exists_on_backend = False
if sr_exists_on_backend: