Fix the wrong method name

The correct method name should be `remove_endpoint_from_project`
according to the definition in the controller layer or the name
of abstract method.

Partial-Bug: 1516468

Change-Id: I891a59969bcbbe5cc91a0dca3b8f1f253b93bcbc
This commit is contained in:
Dave Chen 2015-11-11 12:49:13 +08:00 committed by Steve Martinelli
parent 67bfa72b53
commit b51521a951
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ class Manager(manager.Manager):
self.driver.add_endpoint_to_project(endpoint_id, project_id)
catalog.COMPUTED_CATALOG_REGION.invalidate()
def remove_endpoint_to_project(self, endpoint_id, project_id):
self.driver.remove_endpoint_to_project(endpoint_id, project_id)
def remove_endpoint_from_project(self, endpoint_id, project_id):
self.driver.remove_endpoint_from_project(endpoint_id, project_id)
catalog.COMPUTED_CATALOG_REGION.invalidate()
def add_endpoint_group_to_project(self, endpoint_group_id, project_id):