[NSX|p] delete_service_router does not need context
Change-Id: If8266dd8cf0a089cabda169ea0effbb55162f252
This commit is contained in:
parent
732ba2a2c8
commit
600b68e7c9
@ -359,8 +359,7 @@ class NsxpFwaasCallbacksV2(com_callbacks.NsxCommonv3FwaasCallbacksV2):
|
|||||||
if not router_with_services and sr_exists_on_backend:
|
if not router_with_services and sr_exists_on_backend:
|
||||||
# No other services that require service router: delete it
|
# No other services that require service router: delete it
|
||||||
# This also deleted the gateway policy.
|
# This also deleted the gateway policy.
|
||||||
self.core_plugin.delete_service_router(
|
self.core_plugin.delete_service_router(router_id)
|
||||||
context, router_id)
|
|
||||||
sr_exists_on_backend = False
|
sr_exists_on_backend = False
|
||||||
|
|
||||||
if sr_exists_on_backend:
|
if sr_exists_on_backend:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user