refactor: extract timeout helpers and replace conditionals in snmp/discovery.ex

- 12 identical *_with_timeout wrappers → 2 generic helpers (with_timeout/3, with_deferred_timeout/3)
- Removed commented-out code (# alias Towerops.Topology, # Auto-inference disabled)
- All if/case/cond replaced with pattern-matched function clauses (20+ refactors)
- Long lines fixed for credo compliance
- 11/11 tests pass, 0 credo issues
This commit is contained in:
Graham McInitre 2026-07-21 17:08:03 -05:00
parent 9d4a5f6d81
commit 5b91735b14

File diff suppressed because it is too large Load diff