Skip to content

Update taskscaler version in gitlab-runner

Davis Bickford requested to merge update-instanceconnectinfo-call into main

What does this MR do?

The InstanceConnectInfo command was updated in gitlab-org/fleeting/taskscaler!15 (merged)

This MR updates the function call to InstanceConnectInfo inside autoscaler.Prepare so that it matches the new signature and handles the error.

Why was this MR needed?

Without the updated call, runner fails:

executors/internal/autoscaler/acquisition.go:34:10: not enough arguments in call to ref.acq.InstanceConnectInfo
	have ()
	want (context.Context)
executors/internal/autoscaler/acquisition.go:34:10: assignment mismatch: 1 variable but ref.acq.InstanceConnectInfo returns 2 values

Compilation finished with exit code 2

What's the best way to test this MR?

Run a runner that uses taskscaler

What are the relevant issue numbers?

Merge request reports