Skip to content

Commit

Permalink
fix: Correct misspelling of resource (#1745)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaminyam authored Nov 28, 2023
1 parent 468ca5d commit 7bdc8d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ai/backend/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ async def reconstruct_resource_usage(self) -> None:
)
except Exception:
log.warning(
"rescan_resoucre_usage(k:{}): "
"rescan_resource_usage(k:{}): "
"failed to read kernel resource info; "
"maybe already terminated",
kernel_id,
Expand Down
2 changes: 1 addition & 1 deletion src/ai/backend/client/output/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
FieldSpec("scheduled_at"),
FieldSpec("startup_command"),
FieldSpec("result"),
FieldSpec("resoucre_opts", formatter=nested_dict_formatter),
FieldSpec("resource_opts", formatter=nested_dict_formatter),
FieldSpec("scaling_group"),
FieldSpec("service_ports", formatter=nested_dict_formatter),
FieldSpec("mounts"),
Expand Down

0 comments on commit 7bdc8d7

Please sign in to comment.