mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-09-30 02:13:16 +02:00
Fix syntax error and normalize ephemeralrunners resource casing
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot App
parent
0c17a55075
commit
32ed938405
@@ -154,7 +154,7 @@ func (w *Scaler) patchJobStarted(ctx context.Context, jobInfo *scaleset.JobStart
|
||||
Get().
|
||||
Prefix("apis", v1alpha1.GroupVersion.Group, v1alpha1.GroupVersion.Version).
|
||||
Namespace(w.config.EphemeralRunnerSetNamespace).
|
||||
Resource("ephemeralrunners"),
|
||||
Resource("ephemeralrunners").
|
||||
Name(jobInfo.RunnerName).
|
||||
Do(ctx).
|
||||
Into(currentRunner)
|
||||
@@ -210,7 +210,7 @@ func (w *Scaler) patchJobStarted(ctx context.Context, jobInfo *scaleset.JobStart
|
||||
Patch(types.MergePatchType).
|
||||
Prefix("apis", v1alpha1.GroupVersion.Group, v1alpha1.GroupVersion.Version).
|
||||
Namespace(w.config.EphemeralRunnerSetNamespace).
|
||||
Resource("EphemeralRunners").
|
||||
Resource("ephemeralrunners").
|
||||
Name(jobInfo.RunnerName).
|
||||
SubResource("status").
|
||||
Body(mergePatch).
|
||||
|
||||
Reference in New Issue
Block a user