Skip to content

Commit

Permalink
Fix undefined: pciAddr
Browse files Browse the repository at this point in the history
Merge issue coming from
- k8snetworkplumbingwg#690
- k8snetworkplumbingwg#587

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
  • Loading branch information
zeeke committed Jun 25, 2024
1 parent 73f0ac6 commit ebdf4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/host/internal/sriov/sriov.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (s *sriov) getVfInfo(vfAddr string, pfName string, eswitchMode string, devi
vf.Mac = link.Attrs().HardwareAddr.String()
}
}
vf.GUID = s.networkHelper.GetNetDevNodeGUID(pciAddr)
vf.GUID = s.networkHelper.GetNetDevNodeGUID(vfAddr)

for _, device := range devices {
if vfAddr == device.Address {
Expand Down

0 comments on commit ebdf4c5

Please sign in to comment.