mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-18 06:44:13 +02:00
Make the Outdated phase revision-aware (#4644)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot App
parent
03328aa14f
commit
6e4d85f28f
@@ -153,6 +153,10 @@ func TestPatchAppliedActionableRevisionStatusClearsFinishedRunnerCleanupPatchID(
|
||||
WithScheme(scheme).
|
||||
WithObjects(object).
|
||||
WithStatusSubresource(&v1alpha1.EphemeralRunnerSet{}).
|
||||
// patchAppliedActionableRevisionStatus lists the child runners to
|
||||
// recompute the phase, so the fake client needs the same index
|
||||
// SetupIndexers registers on the manager.
|
||||
WithIndex(&v1alpha1.EphemeralRunner{}, resourceOwnerKey, newGroupVersionOwnerKindIndexer("EphemeralRunnerSet")).
|
||||
Build()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user