You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2023/02/08 08:12:23 UTC
[pulsar] branch branch-2.11 updated: [fix][fn] Typo in method name (#18844)
This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.11 by this push:
new d4e3a279628 [fix][fn] Typo in method name (#18844)
d4e3a279628 is described below
commit d4e3a279628976a320e31bc85b40b5e1e7e30c7e
Author: tison <wa...@gmail.com>
AuthorDate: Mon Dec 12 09:09:25 2022 +0800
[fix][fn] Typo in method name (#18844)
---
pulsar-functions/instance/src/main/python/contextimpl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-functions/instance/src/main/python/contextimpl.py b/pulsar-functions/instance/src/main/python/contextimpl.py
index 84a7d898395..9feeb26f180 100755
--- a/pulsar-functions/instance/src/main/python/contextimpl.py
+++ b/pulsar-functions/instance/src/main/python/contextimpl.py
@@ -233,7 +233,7 @@ class ContextImpl(pulsar.Context):
return self.state_context.get_amount(key)
def del_counter(self, key):
- return self.state_context.delete(key)
+ return self.state_context.delete_key(key)
def put_state(self, key, value):
return self.state_context.put(key, value)