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

zhaocong pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit c5a4f43cc40ce7da64cd3bb8d6575ca600ff19eb
Author: tison <[email protected]>
AuthorDate: Mon Dec 12 09:09:25 2022 +0800

    [fix][fn] Typo in method name (#18844)
    
    (cherry picked from commit 346b04a8149df0683891408456bd4306b39f2103)
---
 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 95afea73eac..69894c45735 100644
--- a/pulsar-functions/instance/src/main/python/contextimpl.py
+++ b/pulsar-functions/instance/src/main/python/contextimpl.py
@@ -234,7 +234,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