[serve] Refer to serve "instances," not "clusters" (#8746)

This commit is contained in:
Edward Oakes
2020-06-02 17:16:29 -05:00
committed by GitHub
parent 2e82e05e4b
commit 0306e4d589
8 changed files with 51 additions and 52 deletions
+2 -2
View File
@@ -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