mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
52669128e6
Tail of the operator-local-UI redaction sweep (abdde303a,a17f879a1). resolveKubernetesContextForResource gated on requiresGovernedResourceDisplay to choose between getPreferredInfrastructureDisplayName and a manual displayName-or-name fallback. Both branches produce a raw infra name once we trust that displayName never carries a redacted summary in local rendering, so the gate is dead complexity. Collapse to a single call and drop the now-unused requiresGovernedResourceDisplay import. problemResourcePresentation.getProblemResourceDisplayName has no production consumers today, but it still routes through the governed helper. Reclassify it now (same as every other operator-local helper) so the rule is consistent across the codebase if the surface ever gets adopted.