Skip to content

Commit

Permalink
fix: typo in minilang query field spec and column map (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregataa authored Aug 1, 2024
1 parent 98de327 commit 7bf1835
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changes/2605.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix typo in minilang query field spec and column map.
4 changes: 2 additions & 2 deletions src/ai/backend/manager/models/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ async def resolve_container_count(self, info: graphene.ResolveInfo) -> int:
"status_changed": ("status_changed", dtparse),
"region": ("region", None),
"scaling_group": ("scaling_group", None),
"schedulable": ("schedulabe", None),
"schedulable": ("schedulable", None),
"addr": ("addr", None),
"first_contact": ("first_contat", dtparse),
"first_contact": ("first_contact", dtparse),
"lost_at": ("lost_at", dtparse),
"version": ("version", None),
}
Expand Down
2 changes: 1 addition & 1 deletion src/ai/backend/manager/models/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ async def resolve_abusing_report(
"cluster_hostname": ("cluster_hostname", None),
"status": ("status", None),
"status_info": ("status_info", None),
"status_changed": ("status_info", None),
"status_changed": ("status_changed", None),
"created_at": ("created_at", None),
"terminated_at": ("terminated_at", None),
"scheduled_at": (JSONFieldItem("status_history", KernelStatus.SCHEDULED.name), None),
Expand Down

0 comments on commit 7bf1835

Please sign in to comment.