Skip to content

Commit

Permalink
correct typo in error string
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Oct 22, 2024
1 parent 198cb79 commit 0d8fc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apstra/enum/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func handleVar(gd *ast.GenDecl) error {
}

if len(spec.Names) != 1 {
return fmt.Errorf("expected 1 spec name, got %d spec naems", len(spec.Names))
return fmt.Errorf("expected 1 spec name, got %d spec names", len(spec.Names))
}

if len(spec.Values) != 1 {
Expand Down

0 comments on commit 0d8fc28

Please sign in to comment.