File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ func TestPodHasDifferentScheduler(t *testing.T) {
245245func TestPodHasInitContainer (t * testing.T ) {
246246 config .SchedulerName = "hami-scheduler"
247247 config .ForceOverwriteDefaultScheduler = true
248- config := & device.Config {
248+ deviceConfig := & device.Config {
249249 NvidiaConfig : nvidia.NvidiaConfig {
250250 ResourceCountName : "hami.io/gpu" ,
251251 ResourceMemoryName : "hami.io/gpumem" ,
@@ -257,7 +257,7 @@ func TestPodHasInitContainer(t *testing.T) {
257257 },
258258 }
259259
260- if err := device .InitDevicesWithConfig (config ); err != nil {
260+ if err := device .InitDevicesWithConfig (deviceConfig ); err != nil {
261261 klog .Fatalf ("Failed to initialize devices with config: %v" , err )
262262 }
263263
You can’t perform that action at this time.
0 commit comments