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

albumenj pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.1 by this push:
     new bbae7db017 Fix cas log parameter (#11253)
bbae7db017 is described below

commit bbae7db0174e07120e915384bd9eac4eedddad7b
Author: Albumen Kevin <[email protected]>
AuthorDate: Sun Jan 8 16:19:47 2023 +0800

    Fix cas log parameter (#11253)
---
 .../dubbo/registry/client/metadata/MetadataServiceNameMapping.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataServiceNameMapping.java
 
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataServiceNameMapping.java
index f57e56c901..dd0066fb1a 100644
--- 
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataServiceNameMapping.java
+++ 
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataServiceNameMapping.java
@@ -106,7 +106,7 @@ public class MetadataServiceNameMapping extends 
AbstractServiceNameMapping {
                     if (!succeeded) {
                         int waitTime = 
ThreadLocalRandom.current().nextInt(casRetryWaitTime);
                         logger.info("Failed to publish service name mapping to 
metadata center by cas operation. " +
-                            "Times: " + casRetryTimes + ". " +
+                            "Times: " + currentRetryTimes + ". " +
                             "Next retry delay: " + waitTime + ". " +
                             "Service Interface: " + serviceInterface + ". " +
                             "Origin Content: " + oldConfigContent + ". " +

Reply via email to