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 45678b80b48 [fix][txn] Correct the prompt message (#17009)
45678b80b48 is described below

commit 45678b80b483aeb22f69931af680a67f191c102c
Author: thetumbled <[email protected]>
AuthorDate: Thu Dec 22 19:12:13 2022 +0800

    [fix][txn] Correct the prompt message (#17009)
    
    Co-authored-by: fengwenzhi <[email protected]>
    (cherry picked from commit 41edd2ead7e41b8ab8064ed22a421c440598ff31)
---
 .../pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
index 8d143eb1ddb..d4a23817e63 100644
--- 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
+++ 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
@@ -186,7 +186,7 @@ public class PendingAckHandleImpl extends 
PendingAckHandleState implements Pendi
     public void internalIndividualAcknowledgeMessage(TxnID txnID, 
List<MutablePair<PositionImpl, Integer>> positions,
                                                      CompletableFuture<Void> 
completableFuture) {
         if (txnID == null) {
-            completableFuture.completeExceptionally(new 
NotAllowedException("Positions can not be null."));
+            completableFuture.completeExceptionally(new 
NotAllowedException("txnID can not be null."));
             return;
 
         }

Reply via email to