Skip to content

Commit

Permalink
minor typo
Browse files Browse the repository at this point in the history
Signed-off-by: Ajay Mishra <[email protected]>
  • Loading branch information
XRFXLP committed Oct 8, 2024
1 parent c29716c commit bcb0f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/translate/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func writeSwitch(wr io.Writer, v *common.Vertex) error {
}

// compress finds contiguos numerical suffixes in names and presents then as ranges.
// example: ["eos0507", "eos0509", "eos0508"] -> ["eos0[507-509]
// example: ["eos0507", "eos0509", "eos0508"] -> ["eos0[507-509"]
func compress(input []string) []string {
ret := []string{}
keys := []string{}
Expand Down

0 comments on commit bcb0f54

Please sign in to comment.