You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xi...@apache.org on 2022/12/14 04:25:43 UTC

[pulsar] branch branch-2.10 updated: [fix][fn] Typo in method name (#18844)

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

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


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new 308617c54a2 [fix][fn] Typo in method name (#18844)
308617c54a2 is described below

commit 308617c54a2344bda77ee61ef56306deda4bc093
Author: tison <wa...@gmail.com>
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 27618626cf7..336861c1d49 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)