fix(rmm): drop extra arg from delete_lookup RMM call sites #233

Closed
David wants to merge 0 commits from chore/checks-workflow-4d9d4bf3 into main
Owner

The RMM admin UI (#211) and the timesheet approvals UI (#207) merged independently. The RMM branch was written against an older delete_lookup(id, base, label) signature, but the merged delete_lookup takes only (id, base). The three RMM delete call sites (connections, device-mappings, alert-rules) passed a vestigial label string, which broke cargo clippy --all-targets -- -D warnings (E0061) and the lib/test builds on main.

Remove the unused third argument so the call sites match the function signature and the other ten delete_lookup callers. The human-readable label was already hardcoded in each surrounding error message, so no behavior changes.

#MAPPS-224

The RMM admin UI (#211) and the timesheet approvals UI (#207) merged independently. The RMM branch was written against an older `delete_lookup(id, base, label)` signature, but the merged `delete_lookup` takes only `(id, base)`. The three RMM delete call sites (connections, device-mappings, alert-rules) passed a vestigial label string, which broke `cargo clippy --all-targets -- -D warnings` (E0061) and the lib/test builds on `main`. Remove the unused third argument so the call sites match the function signature and the other ten `delete_lookup` callers. The human-readable label was already hardcoded in each surrounding error message, so no behavior changes. #MAPPS-224
fix(rmm): drop extra arg from delete_lookup RMM call sites
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m58s
Create release / Create release from merged PR (pull_request) Has been skipped
d16958f9d4
The RMM admin UI (#211) and the timesheet approvals UI (#207) merged independently. The RMM branch was written against an older `delete_lookup(id, base, label)` signature, but the merged `delete_lookup` takes only `(id, base)`. The three RMM delete call sites (connections, device-mappings, alert-rules) passed a vestigial label string, which broke `cargo clippy --all-targets -- -D warnings` (E0061) and the lib/test builds on `main`.

Remove the unused third argument so the call sites match the function signature and the other ten `delete_lookup` callers. The human-readable label was already hardcoded in each surrounding error message, so no behavior changes.

#MAPPS-224
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
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m58s
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!233
No description provided.