Skip to content

Commit fd53743

Browse files
authored
[Fix-17111] [registry] Fix zookeeper registry start failed message. (#17111) (#17115)
1 parent c5e6f26 commit fd53743

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper

dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void start() {
107107
client.close();
108108
throw new RegistryException(
109109
"zookeeper connect failed to: " + properties.getConnectString() + " in : "
110-
+ properties.getBlockUntilConnected() + "ms");
110+
+ properties.getBlockUntilConnected().toMillis() + "ms");
111111
}
112112
stopWatch.stop();
113113
log.info("ZookeeperRegistry started at: {}/ms", stopWatch.getTime());

0 commit comments

Comments
 (0)