Skip to content

Commit fb1b5bb

Browse files
author
Keith Nguyen
committed
fix: typo
1 parent 4e52d58 commit fb1b5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/imds/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (h *HardwareAddr) UnmarshalJSON(data []byte) error {
229229
return nil
230230
}
231231

232-
// parseMacAddress is a wrapper around net.ParseMAC to handle Windows MAC address. Windows MAC addresse is a pure hex
232+
// parseMacAddress is a wrapper around net.ParseMAC to handle Windows MAC address. Windows MAC address is a pure hex
233233
// dump without delimiter, so we need to add delimiters. This happens when CNS gets MAC address from IMDS.
234234
func parseMacAddress(s string) (net.HardwareAddr, error) {
235235
if !strings.ContainsAny(s, ":-.") && len(s) == imdsMACAddressStringLength {

0 commit comments

Comments
 (0)