Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo in minilang query field spec and column map #2605

Merged
merged 3 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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