mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
Adding parameter to configure the runner set name. (#2279)
Co-authored-by: TingluoHuang <TingluoHuang@github.com>
This commit is contained in:
@@ -38,6 +38,13 @@ func WithCreateRunnerScaleSet(scaleSet *actions.RunnerScaleSet, err error) Optio
|
||||
}
|
||||
}
|
||||
|
||||
func WithUpdateRunnerScaleSet(scaleSet *actions.RunnerScaleSet, err error) Option {
|
||||
return func(f *FakeClient) {
|
||||
f.updateRunnerScaleSetResult.RunnerScaleSet = scaleSet
|
||||
f.updateRunnerScaleSetResult.err = err
|
||||
}
|
||||
}
|
||||
|
||||
var defaultRunnerScaleSet = &actions.RunnerScaleSet{
|
||||
Id: 1,
|
||||
Name: "testset",
|
||||
|
||||
Reference in New Issue
Block a user