Skip to content

Commit cf8fdd1

Browse files
committed
Fix some local variable names to match the parameter to which they refer to
1 parent 052f506 commit cf8fdd1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/mcp/server.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,10 +1237,10 @@ impl AzureMcpServer {
12371237
if let Some(area_path) = &args.0.area_path {
12381238
field_map.insert("System.AreaPath".to_string(), serde_json::json!(area_path));
12391239
}
1240-
if let Some(iteration) = &args.0.iteration_path {
1240+
if let Some(iteration_path) = &args.0.iteration_path {
12411241
field_map.insert(
12421242
"System.IterationPath".to_string(),
1243-
serde_json::json!(iteration),
1243+
serde_json::json!(iteration_path),
12441244
);
12451245
}
12461246
if let Some(state) = &args.0.state {
@@ -1426,10 +1426,10 @@ impl AzureMcpServer {
14261426
}
14271427

14281428
// Iteration filter
1429-
if let Some(iteration) = &args.0.iteration_path {
1429+
if let Some(iteration_path) = &args.0.iteration_path {
14301430
conditions.push(format!(
14311431
"[System.IterationPath] UNDER '{}'",
1432-
iteration.replace("'", "''")
1432+
iteration_path.replace("'", "''")
14331433
));
14341434
}
14351435

@@ -1650,10 +1650,10 @@ impl AzureMcpServer {
16501650
if let Some(area_path) = &args.0.area_path {
16511651
field_map.insert("System.AreaPath".to_string(), serde_json::json!(area_path));
16521652
}
1653-
if let Some(iteration) = &args.0.iteration_path {
1653+
if let Some(iteration_path) = &args.0.iteration_path {
16541654
field_map.insert(
16551655
"System.IterationPath".to_string(),
1656-
serde_json::json!(iteration),
1656+
serde_json::json!(iteration_path),
16571657
);
16581658
}
16591659
if let Some(state) = &args.0.state {

0 commit comments

Comments
 (0)