Skip to content

Commit e09d52f

Browse files
authored
Merge pull request #816 from hj-johannes-lee/dlb-flag-parse
dlb:Fix the problem that klog is not printed
2 parents 258f454 + 515bd59 commit e09d52f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/dlb_plugin/dlb_plugin.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
package main
1616

1717
import (
18+
"flag"
1819
"path/filepath"
1920
"reflect"
2021
"time"
@@ -106,6 +107,7 @@ func (dp *DevicePlugin) scan() dpapi.DeviceTree {
106107
}
107108

108109
func main() {
110+
flag.Parse()
109111
klog.V(1).Infof("DLB device plugin started")
110112

111113
plugin := NewDevicePlugin(dlbDeviceFilePathRE, sysfsDir)

0 commit comments

Comments
 (0)