diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-14 11:27:12 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-14 11:27:12 +0300 |
| commit | a042135dd8c31e3ff65cfd213804dfc0b0244416 (patch) | |
| tree | a340cf6e78d06e8799329a70a6e8dbbea5e546d7 /internal/cli/cmd_query.go | |
| parent | e726e5701a8de0b7cbf6b2d235faa31a2537ed88 (diff) | |
refactor(report): centralize metric extractors for OCP (z3)
Replace four switch-on-Metric sites with map[Metric]metricExtractor and
extractorFor fallback to uptime behavior. Add tests for unknown metric
and aggregate Downtime/Lifespan parity.
Made-with: Cursor
Diffstat (limited to 'internal/cli/cmd_query.go')
0 files changed, 0 insertions, 0 deletions
