We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e52d58 commit fb1b5bbCopy full SHA for fb1b5bb
cns/imds/client.go
@@ -229,7 +229,7 @@ func (h *HardwareAddr) UnmarshalJSON(data []byte) error {
229
return nil
230
}
231
232
-// parseMacAddress is a wrapper around net.ParseMAC to handle Windows MAC address. Windows MAC addresse is a pure hex
+// parseMacAddress is a wrapper around net.ParseMAC to handle Windows MAC address. Windows MAC address is a pure hex
233
// dump without delimiter, so we need to add delimiters. This happens when CNS gets MAC address from IMDS.
234
func parseMacAddress(s string) (net.HardwareAddr, error) {
235
if !strings.ContainsAny(s, ":-.") && len(s) == imdsMACAddressStringLength {
0 commit comments