Skip to content

Commit

Permalink
smdclient: fix naming in comments, oops
Browse files Browse the repository at this point in the history
  • Loading branch information
LRitzdorf committed Jul 22, 2024
1 parent 52d80f3 commit 217abab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/smdclient/SMDclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (s *SMDClient) IDfromMAC(mac string) (string, error) {
return "", errors.New("MAC " + mac + " not found for an xname in EthernetInterfaces")
}

// IDfromMAC returns the ID of the xname that has the MAC address
// IDfromIP returns the ID of the xname that has the IP address
func (s *SMDClient) IDfromIP(ipaddr string) (string, error) {
var ethIfaceArray []sm.CompEthInterfaceV2
ep := "/hsm/v2/Inventory/EthernetInterfaces/"
Expand Down

0 comments on commit 217abab

Please sign in to comment.