gging
This commit is contained in:
@@ -74,6 +74,8 @@ func run(ctx context.Context, c Config) error {
|
|||||||
runnerGroupID = runnerGroup.ID
|
runnerGroupID = runnerGroup.ID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slog.Info("creating scale set")
|
||||||
|
|
||||||
// Create the runner scale set
|
// Create the runner scale set
|
||||||
scaleSet, err := scalesetClient.CreateRunnerScaleSet(ctx, &scaleset.RunnerScaleSet{
|
scaleSet, err := scalesetClient.CreateRunnerScaleSet(ctx, &scaleset.RunnerScaleSet{
|
||||||
Name: c.ScaleSetName,
|
Name: c.ScaleSetName,
|
||||||
@@ -84,9 +86,12 @@ func run(ctx context.Context, c Config) error {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
slog.Error("failed to create", err)
|
||||||
return fmt.Errorf("failed to create runner scale set: %w", err)
|
return fmt.Errorf("failed to create runner scale set: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slog.Info("created")
|
||||||
|
|
||||||
// Set the user agent for the scaleset client now that we have the scale set ID
|
// Set the user agent for the scaleset client now that we have the scale set ID
|
||||||
scalesetClient.SetSystemInfo(systemInfo(scaleSet.ID))
|
scalesetClient.SetSystemInfo(systemInfo(scaleSet.ID))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user