This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 346b04a8149 [fix][fn] Typo in method name (#18844)
346b04a8149 is described below

commit 346b04a8149df0683891408456bd4306b39f2103
Author: tison <[email protected]>
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 63581d1e4be..14247e2d647 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)

Reply via email to