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:
Mikko Ylinen 2021-12-21 13:31:49 +02:00 committed by GitHub
commit e09d52f6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@
package main
import (
"flag"
"path/filepath"
"reflect"
"time"
@ -106,6 +107,7 @@ func (dp *DevicePlugin) scan() dpapi.DeviceTree {
}
func main() {
flag.Parse()
klog.V(1).Infof("DLB device plugin started")
plugin := NewDevicePlugin(dlbDeviceFilePathRE, sysfsDir)