@@ -23,7 +23,7 @@ func TestReconcileVGPUsReleasesOnlyDeadClaims(t *testing.T) {
2323 destroyed = append (destroyed , assignment )
2424 return nil
2525 },
26- reconcileVGPUDevices : func (context.Context , map [string ]struct {}, bool ) error { return nil },
26+ reconcileVGPUDevices : func (context.Context , map [string ]struct {}) error { return nil },
2727 }
2828 liveIdentity := HypervisorProcessIdentity {}
2929 liveIdentity .Set (os .Getpid ())
@@ -59,7 +59,7 @@ func TestReconcileVGPUsKeepsAssignmentWhenReleaseFails(t *testing.T) {
5959 }
6060 return nil
6161 },
62- reconcileVGPUDevices : func (context.Context , map [string ]struct {}, bool ) error { return nil },
62+ reconcileVGPUDevices : func (context.Context , map [string ]struct {}) error { return nil },
6363 }
6464 meta := saveTestVGPUInstance (t , m , "wedged" )
6565 meta .GPUFramework = devices .VGPUFrameworkVendorVFIO
@@ -85,7 +85,7 @@ func TestReconcileVGPUsSkipsDevicePassWhenListingFails(t *testing.T) {
8585 var passes atomic.Int32
8686 m := & manager {
8787 paths : paths .New (t .TempDir ()),
88- reconcileVGPUDevices : func (context.Context , map [string ]struct {}, bool ) error {
88+ reconcileVGPUDevices : func (context.Context , map [string ]struct {}) error {
8989 passes .Add (1 )
9090 return nil
9191 },
@@ -106,7 +106,7 @@ func TestStartVGPUReconcilerSkipsHostsWithoutGPUs(t *testing.T) {
106106 discoverVGPU : func () (devices.VGPUFramework , []devices.VirtualFunction , error ) {
107107 return devices .VGPUFrameworkNone , nil , nil
108108 },
109- reconcileVGPUDevices : func (context.Context , map [string ]struct {}, bool ) error {
109+ reconcileVGPUDevices : func (context.Context , map [string ]struct {}) error {
110110 passes .Add (1 )
111111 return nil
112112 },
@@ -125,7 +125,7 @@ func TestStartVGPUReconcilerRunsPeriodically(t *testing.T) {
125125 discoverVGPU : func () (devices.VGPUFramework , []devices.VirtualFunction , error ) {
126126 return devices .VGPUFrameworkVendorVFIO , nil , nil
127127 },
128- reconcileVGPUDevices : func (context.Context , map [string ]struct {}, bool ) error {
128+ reconcileVGPUDevices : func (context.Context , map [string ]struct {}) error {
129129 passes .Add (1 )
130130 return nil
131131 },
0 commit comments