Add scaleset commands
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
7e1a83c79a
commit
7174e030e2
26 changed files with 3313 additions and 8 deletions
|
|
@ -164,11 +164,6 @@ func (r *Runner) UpdateScaleSetByID(ctx context.Context, scaleSetID uint, param
|
|||
hasUpdates = true
|
||||
}
|
||||
|
||||
if old.Enabled != new.Enabled {
|
||||
updateParams.Enabled = &new.Enabled
|
||||
hasUpdates = true
|
||||
}
|
||||
|
||||
if old.GitHubRunnerGroup != new.GitHubRunnerGroup {
|
||||
runnerGroup, err := scalesetCli.GetRunnerGroupByName(ctx, new.GitHubRunnerGroup)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue