mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 13:21:38 +08:00
[serve] Refer to serve "instances," not "clusters" (#8746)
This commit is contained in:
@@ -194,8 +194,8 @@ class HTTPProxy:
|
||||
|
||||
@ray.remote
|
||||
class HTTPProxyActor:
|
||||
async def __init__(self, host, port, cluster_name=None):
|
||||
serve.init(cluster_name=cluster_name)
|
||||
async def __init__(self, host, port, instance_name=None):
|
||||
serve.init(name=instance_name)
|
||||
self.app = HTTPProxy()
|
||||
await self.app.fetch_config_from_master()
|
||||
self.host = host
|
||||
|
||||
Reference in New Issue
Block a user