MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / port_sort_key

Function port_sort_key

webapp_modern.py:4357–4366  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

4355 'total': wt_summary.get('total', 0),
4356 # The single number that ranks a site: worst severity currently held.
4357 'worst': wt_summary.get('worst'),
4358 }
4359 health['incidents'] = {
4360 'total': inc_summary.get('total', 0),
4361 'named': inc_summary.get('named', 0),
4362 'worst': inc_summary.get('worst'),
4363 }
4364 except Exception as exc:
4365 logger.debug(f"[mesh] alert summary unavailable: {exc}")
4366
4367 return health
4368
4369

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected