INNER CODE UNIT · Go
oldLabel
NVIDIA/k8s-device-plugin · cmd/config-manager/main.go:282
oldLabel := obj.(*v1.Node).Labels[f.NodeLabel]
if oldLabel != "" {
config.Set("")
}
},
},
ResyncPeriod: 0,
},
)
stop := make(chan struct{})
go controller.Run(stop)
return stop
}
func updateConfig(config string, f *Flags) error {
config, err := updateConfigName(config, f)
if err != nil {