d434ba6518a83dfde682e52373b526df4c3933ec,python/ray/serve/controller.py,ServeController,delete_endpoint,#ServeController#Any#,370
Before Change
// specified endpoint exists on the client.
for route, (route_endpoint,
_) in self.endpoint_state.routes.items():
if route_endpoint == endpoint:
route_to_delete = route
break
else:
logger.info("Endpoint "{}" doesn"t exist".format(endpoint))
return
After Change
Does not modify any corresponding backends.
logger.info("Deleting endpoint "{}"".format(endpoint))
async with self.write_lock:
self.endpoint_state.delete_endpoint(endpoint)
async def set_backend_goal(self, backend_tag: BackendTag,
backend_info: BackendInfo,
new_id: GoalId) -> None:
// NOTE(ilr) Must checkpoint after doing this!
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: d434ba6518a83dfde682e52373b526df4c3933ec
Time: 2021-01-08
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/controller.py
Class Name: ServeController
Method Name: delete_endpoint
Project Name: OpenNMT/OpenNMT-py
Commit Name: 7b205efea6b504de04311bc55d109cd28d8f3e0c
Time: 2016-12-21
Author: alerer@fb.com
File Name: OpenNMT/preprocess.py
Class Name:
Method Name: makeVocabulary
Project Name: NifTK/NiftyNet
Commit Name: ae585178b8f190bcbf7f1433a731fa27fc32271a
Time: 2017-07-23
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: run_application