Skip to content

Commit

Permalink
cleanup: generator.py words correction. (#7891)
Browse files Browse the repository at this point in the history
Signed-off-by: Guangming Wang <[email protected]>
  • Loading branch information
ethan authored and mattklein123 committed Aug 12, 2019
1 parent dd5eb0c commit 93f87c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/extensions/filters/network/kafka/protocol/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def is_nullable(self):

def is_nullable_in_version(self, version):
"""
Whether thie field is nullable in given version.
Whether the field is nullable in given version.
Fields can be non-nullable in earlier versions.
See https://github.com/apache/kafka/tree/2.2.0-rc0/clients/src/main/resources/common/message#nullable-fields
"""
Expand Down Expand Up @@ -435,7 +435,7 @@ def __init__(self, name, fields, versions):

def __compute_declaration_chain(self):
"""
Computes all dependendencies, what means all non-primitive types used by this type.
Computes all dependencies, what means all non-primitive types used by this type.
They need to be declared before this struct is declared.
"""
result = []
Expand Down

0 comments on commit 93f87c3

Please sign in to comment.