Fix typo in approval resolver name (#36822)

Rename `resolve_tool_apporval` to `resolve_tool_approval` and update its
call sites in the tool orchestrator.

GitOrigin-RevId: bc7d9ae675b45dd5b6b5b5643fd75e532f6314ca
This commit is contained in:
Dylan Hurd
2026-08-04 02:03:22 +00:00
committed by copyberry
parent 7431f10d0d
commit 64bb8094ba
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ impl ApprovalResolution {
}
}
pub(super) async fn resolve_tool_apporval<Rq, Out, T>(
pub(super) async fn resolve_tool_approval<Rq, Out, T>(
tool: &mut T,
req: &Rq,
permission_request_run_id: &str,
+4 -4
View File
@@ -7,7 +7,7 @@ retry with an escalated sandbox strategy on denial (no re‑approval thanks to
caching).
*/
use super::approvals::ApprovalReviewer;
use super::approvals::resolve_tool_apporval;
use super::approvals::resolve_tool_approval;
use crate::network_policy_decision::network_approval_context_from_payload;
use crate::tools::flat_tool_name;
use crate::tools::network_approval::ActiveNetworkApproval;
@@ -174,7 +174,7 @@ impl ToolOrchestrator {
retry_reason: None,
network_approval_context: None,
};
resolve_tool_apporval(
resolve_tool_approval(
tool,
req,
tool_ctx.call_id.as_str(),
@@ -205,7 +205,7 @@ impl ToolOrchestrator {
retry_reason: reason.clone(),
network_approval_context: None,
};
resolve_tool_apporval(
resolve_tool_approval(
tool,
req,
tool_ctx.call_id.as_str(),
@@ -402,7 +402,7 @@ impl ToolOrchestrator {
};
let permission_request_run_id = format!("{}:retry", tool_ctx.call_id);
resolve_tool_apporval(
resolve_tool_approval(
tool,
req,
&permission_request_run_id,