diff --git a/pkg/daemon/ovs_linux.go b/pkg/daemon/ovs_linux.go index f9372632ae3..85a7ff285ba 100644 --- a/pkg/daemon/ovs_linux.go +++ b/pkg/daemon/ovs_linux.go @@ -57,7 +57,7 @@ func (csh cniServerHandler) configureDpdkNic(podName, podNamespace, provider, ne func getCurrentVfCount(pfNetdevName string) (int, error) { devDirName := filepath.Join(util.NetSysDir, pfNetdevName, "device", "sriov_numvfs") - value, err := os.ReadFile(devDirName) + value, err := os.ReadFile(devDirName) // #nosec G304 if err != nil { klog.Errorf("read file %s error: %v", devDirName, err) return 0, nil