Files
cozystack/internal/lineagecontrollerwebhook
Mattia Eleuteri aed71ed610 test(lineage-webhook): cover the per-application scheduling class
The applySchedulingClass tests only ever passed a nil owner, so the
path where an application's class takes over from the tenant's, and
the guard that keeps an over-long class name off the Pod labels, could
break unnoticed. The owner is built as unstructured, as the lineage
walk returns it, because its conversion into Application.Spec.Raw is
part of that path.

Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
2026-11-23 08:05:07 +01:00
..