fix(settings): drop extra arg from RMM delete_lookup calls #235

Closed
David wants to merge 0 commits from fix/mapps-226-delete-lookup-extra-arg into main
Owner

The RMM admin UI (connections, device mappings, alert rules) called delete_lookup with a third &'static str label argument, but the helper's signature is delete_lookup(id: &str, base: &str). This broke compilation with E0061 (3 arguments supplied, 2 expected) and failed clippy, the wasm check, and tests in check.yml. The label was redundant: each call site already names the entity in its error message ("Could not delete connection", etc.). Remove the third argument from all three call sites to match the function signature and the other ten lookup-editor call sites.

#MAPPS-226

The RMM admin UI (connections, device mappings, alert rules) called `delete_lookup` with a third `&'static str` label argument, but the helper's signature is `delete_lookup(id: &str, base: &str)`. This broke compilation with E0061 (3 arguments supplied, 2 expected) and failed clippy, the wasm check, and tests in check.yml. The label was redundant: each call site already names the entity in its error message ("Could not delete connection", etc.). Remove the third argument from all three call sites to match the function signature and the other ten lookup-editor call sites. #MAPPS-226
fix(settings): drop extra arg from RMM delete_lookup calls
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m22s
Create release / Create release from merged PR (pull_request) Has been skipped
c0f78fea83
The RMM admin UI (connections, device mappings, alert rules) called `delete_lookup` with a third `&'static str` label argument, but the helper's signature is `delete_lookup(id: &str, base: &str)`. This broke compilation with E0061 (3 arguments supplied, 2 expected) and failed clippy, the wasm check, and tests in check.yml. The label was redundant: each call site already names the entity in its error message ("Could not delete connection", etc.). Remove the third argument from all three call sites to match the function signature and the other ten lookup-editor call sites.

#MAPPS-226
Owner

Superseded: the RMM delete_lookup arity fix landed on main via #237. Closing this duplicate.

Superseded: the RMM delete_lookup arity fix landed on main via #237. Closing this duplicate.
vas2000-work closed this pull request 2026-06-17 02:14:10 +02:00
David deleted branch fix/mapps-226-delete-lookup-extra-arg 2026-06-17 12:25:45 +02:00
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m22s
Required
Details
Create release / Create release from merged PR (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!235
No description provided.