mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
scheduler_perf: fix installing DRA test driver multiple times
The driver name configuration option was ignored, so a second driver would have used the same name.
This commit is contained in:
parent
d5f2420309
commit
0331e98957
@ -210,7 +210,7 @@ func (op *createResourceDriverOp) run(ctx context.Context, tb testing.TB, client
|
||||
}
|
||||
}
|
||||
|
||||
controller := draapp.NewController(clientset, "test-driver.cdi.k8s.io", resources)
|
||||
controller := draapp.NewController(clientset, op.DriverName, resources)
|
||||
ctx, cancel := context.WithCancel(ctx)
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(1)
|
||||
|
Loading…
Reference in New Issue
Block a user