Skip to content

Commit f82ca10

Browse files
Bihan  RanaBihan  Rana
authored andcommitted
Minor Update
1 parent e061049 commit f82ca10

File tree

1 file changed

+1
-1
lines changed
  • src/dstack/_internal/proxy/gateway/services

1 file changed

+1
-1
lines changed

src/dstack/_internal/proxy/gateway/services/nginx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def register(self, conf: SiteConfig, acme: ACMESettings) -> None:
8989
await run_async(self.run_certbot, conf.domain, acme)
9090
await run_async(self.write_conf, conf.render(), conf_name)
9191
if hasattr(conf, "router") and conf.router == "sglang":
92-
replicas = len(conf.replicas) if hasattr(conf, "replicas") and conf.replicas else 1
92+
replicas = len(conf.replicas)
9393
await run_async(self.write_sglang_workers_conf, conf)
9494
await run_async(self.start_or_update_sglang_router, replicas)
9595

0 commit comments

Comments
 (0)