Extract common pattern from perform_site_reorder/4 and perform_device_reorder/4 into a single perform_reorder/4 helper function. Both reorder handlers now delegate to the shared helper, reducing duplication and making the reload/regroup/flash pattern consistent. - Reduces code from 40 lines to 28 lines - Maintains identical behavior (all tests pass) - Uses static gettext strings to satisfy compile-time requirements |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||