From 217abab951e332f9626a03c7a57cf15cd6335b4f Mon Sep 17 00:00:00 2001 From: Lucas Ritzdorf <42657792+LRitzdorf@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:19:34 -0600 Subject: [PATCH] smdclient: fix naming in comments, oops --- internal/smdclient/SMDclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/smdclient/SMDclient.go b/internal/smdclient/SMDclient.go index 380c1a5..105ff9c 100644 --- a/internal/smdclient/SMDclient.go +++ b/internal/smdclient/SMDclient.go @@ -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/"