Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
  • Loading branch information
testwill committed Mar 19, 2024
1 parent 0c06324 commit 80e6d7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kong/plugins/grpc-web/deco.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ local function rpc_types(path, protofile)
local info = get_proto_info(protofile)
local types = info[path]
if not types then
return nil, ("Unkown path %q"):format(path)
return nil, ("Unknown path %q"):format(path)
end

return types[1], types[2]
Expand Down
4 changes: 2 additions & 2 deletions scripts/explain_manifest/expect.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _print_all_fails(self):

if self._all_failures:
self._print_error(
"Following failure(s) occured:\n" + "\n".join(self._all_failures))
"Following failure(s) occurred:\n" + "\n".join(self._all_failures))
os._exit(1)

def _compare(self, attr, fn):
Expand All @@ -149,7 +149,7 @@ def _compare(self, attr, fn):
continue # accept missing attribute for now
v = getattr(f, attr)
if self._key_name and isinstance(v, dict):
# TODO: explict flag to accept missing key
# TODO: explicit flag to accept missing key
if self._key_name not in v:
return True
v = v[self._key_name]
Expand Down

0 comments on commit 80e6d7c

Please sign in to comment.