This is an automated email from the ASF dual-hosted git repository.
ming pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git
The following commit(s) were added to refs/heads/master by this push:
new 15fc9bb5 chore: correct incorrect comment (#268)
15fc9bb5 is described below
commit 15fc9bb539902fb5e75cbc23bfb6be0c5904beed
Author: diaohancai <[email protected]>
AuthorDate: Wed Sep 20 10:58:21 2023 +0800
chore: correct incorrect comment (#268)
---
.../java/org/apache/hugegraph/computer/core/common/ContainerInfo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/computer-core/src/main/java/org/apache/hugegraph/computer/core/common/ContainerInfo.java
b/computer-core/src/main/java/org/apache/hugegraph/computer/core/common/ContainerInfo.java
index 9c44390d..643db7aa 100644
---
a/computer-core/src/main/java/org/apache/hugegraph/computer/core/common/ContainerInfo.java
+++
b/computer-core/src/main/java/org/apache/hugegraph/computer/core/common/ContainerInfo.java
@@ -33,8 +33,8 @@ public class ContainerInfo implements Readable, Writable {
public static final int MASTER_ID = 0;
/*
- * There is only 1 master, and the id of master is -1.
- * The id of workers start from 0. The id is used to identify a worker.
+ * There is only 1 master, and the id of master is 0.
+ * The id of workers start from 1. The id is used to identify a worker.
*/
private int id;
private String hostname;