Skip to content

Commit

Permalink
fix some logs
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Chiris <[email protected]>
  • Loading branch information
adrianchiris committed May 2, 2022
1 parent 0030dda commit a40a2a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/utils/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func BindDefaultDriver(pciAddr string) error {
}
err = ioutil.WriteFile(sysBusPciDriversProbe, []byte(pciAddr), os.ModeAppend)
if err != nil {
glog.Errorf("BindDpdkDriver(): fail to bind driver for device %s: %s", pciAddr, err)
glog.Errorf("BindDefaultDriver(): fail to bind driver for device %s: %s", pciAddr, err)
return err
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func configSriovDevice(iface *sriovnetworkv1.Interface, ifaceStatus *sriovnetwor
}
pfLink, err := netlink.LinkByName(iface.Name)
if err != nil {
glog.Errorf("setVfGuid(): unable to get PF link for device %+v %q", iface, err)
glog.Errorf("configSriovDevice(): unable to get PF link for device %+v %q", iface, err)
return err
}

Expand Down

0 comments on commit a40a2a1

Please sign in to comment.