Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Majer <[email protected]>
  • Loading branch information
iljarotar and majst01 authored Oct 17, 2024
1 parent 3d6301e commit 882eacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metal-api/internal/metal/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func portNameToLine(port string, os SwitchOSVendor) (int, error) {
if os == SwitchOSVendorCumulus {
return cumulusPortNameToLine(port)
}
return 0, fmt.Errorf("unknow switch os %s", os)
return 0, fmt.Errorf("unknown switch os %s", os)
}

func sonicPortNameToLine(port string) (int, error) {
Expand Down

0 comments on commit 882eacc

Please sign in to comment.