Skip to content

Commit

Permalink
fix: typo in minilang query field spec and column map (#2605) (#2607)
Browse files Browse the repository at this point in the history
Co-authored-by: Sanghun Lee <[email protected]>
  • Loading branch information
lablup-octodog and fregataa authored Aug 1, 2024
1 parent a1cfb25 commit 33ff3c5
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 @@ -238,9 +238,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 @@ -931,7 +931,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 33ff3c5

Please sign in to comment.