Change resource name to lowercase 'ephemeralrunners'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Nikola Jokic
2026-09-12 23:37:31 +02:00
co-authored by Copilot Autofix powered by AI
parent 03a2cdbdec
commit 839272075a
+1 -1
View File
@@ -144,7 +144,7 @@ func (w *Scaler) HandleJobStarted(ctx context.Context, jobInfo *scaleset.JobStar
Get().
Prefix("apis", v1alpha1.GroupVersion.Group, v1alpha1.GroupVersion.Version).
Namespace(w.config.EphemeralRunnerSetNamespace).
Resource("EphemeralRunners").
Resource("ephemeralrunners"),
Name(jobInfo.RunnerName).
Do(ctx).
Into(currentRunner)