You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/09/08 04:35:25 UTC
[dubbo] branch 3.0 updated: Fix the comment of ServiceInstance
(#8674)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 32dc014 Fix the comment of ServiceInstance (#8674)
32dc014 is described below
commit 32dc0143efa67436b2befd10735b8ef4096ebe31
Author: 灼华 <43...@users.noreply.github.com>
AuthorDate: Wed Sep 8 12:35:13 2021 +0800
Fix the comment of ServiceInstance (#8674)
---
.../main/java/org/apache/dubbo/registry/client/ServiceInstance.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceInstance.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceInstance.java
index ff8c0be..05e3dd9 100644
--- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceInstance.java
+++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceInstance.java
@@ -54,7 +54,7 @@ public interface ServiceInstance extends Serializable {
String getAddress();
/**
- * The enable status of the registered service instance.
+ * The enabled status of the registered service instance.
*
* @return if <code>true</code>, indicates current instance is enabled, or disable, the client should remove this one.
* The default value is <code>true</code>
@@ -66,7 +66,7 @@ public interface ServiceInstance extends Serializable {
/**
* The registered service instance is health or not.
*
- * @return if <code>true</code>, indicates current instance is enabled, or disable, the client may ignore this one.
+ * @return if <code>true</code>, indicates current instance is healthy, or unhealthy, the client may ignore this one.
* The default value is <code>true</code>
*/
default boolean isHealthy() {