mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Merge pull request #816 from hj-johannes-lee/dlb-flag-parse
dlb:Fix the problem that klog is not printed
This commit is contained in:
commit
e09d52f6ff
@ -15,6 +15,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"flag"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"reflect"
|
"reflect"
|
||||||
"time"
|
"time"
|
||||||
@ -106,6 +107,7 @@ func (dp *DevicePlugin) scan() dpapi.DeviceTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
flag.Parse()
|
||||||
klog.V(1).Infof("DLB device plugin started")
|
klog.V(1).Infof("DLB device plugin started")
|
||||||
|
|
||||||
plugin := NewDevicePlugin(dlbDeviceFilePathRE, sysfsDir)
|
plugin := NewDevicePlugin(dlbDeviceFilePathRE, sysfsDir)
|
||||||
|
Loading…
Reference in New Issue
Block a user