Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
hotfix: query_wsproxy_version throwing TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho committed Feb 18, 2022
1 parent ca68ac2 commit 1861e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai/backend/manager/api/scaling_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ async def query_wsproxy_version(
query = (
sa.select([sgroups_for_domains.c.scaling_group])
.where((
sgroups_for_domains.c.domain == domain_name &
sgroups_for_domains.c.scaling_group == scaling_group_name
(sgroups_for_domains.c.domain == domain_name) &
(sgroups_for_domains.c.scaling_group == scaling_group_name)
))
)
matched_sgroup_name = await conn.scalar(query)
Expand Down

0 comments on commit 1861e7c

Please sign in to comment.