From ec065139631ce006a870196debdd8ac0ed13c1dc Mon Sep 17 00:00:00 2001 From: diaohancai <550630588@qq.com> Date: Sun, 17 Sep 2023 16:01:13 +0800 Subject: [PATCH] fix #267 --- .../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 9c44390d2..643db7aae 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;