You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by eo...@apache.org on 2021/09/10 20:49:28 UTC
[pulsar] branch master updated: [Zookeeper Client] Fix String
formatting conversion in toString method (#12006)
This is an automated email from the ASF dual-hosted git repository.
eolivelli 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 a5f0100 [Zookeeper Client] Fix String formatting conversion in toString method (#12006)
a5f0100 is described below
commit a5f0100178294a60a06b40498491a59366c518fb
Author: Michael Marshall <mi...@datastax.com>
AuthorDate: Fri Sep 10 15:48:33 2021 -0500
[Zookeeper Client] Fix String formatting conversion in toString method (#12006)
---
.../java/org/apache/pulsar/metadata/impl/PulsarZooKeeperClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/PulsarZooKeeperClient.java b/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/PulsarZooKeeperClient.java
index 5cc9ffc..aac56d7 100644
--- a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/PulsarZooKeeperClient.java
+++ b/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/PulsarZooKeeperClient.java
@@ -1172,7 +1172,7 @@ public class PulsarZooKeeperClient extends ZooKeeper implements Watcher, AutoClo
@Override
public String toString() {
- return String.format("setData (%s, mode = %d)", basePath, mode);
+ return String.format("setData (%s, mode = %s)", basePath, mode.name());
}
};
// execute it immediately