mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 05:25:28 +08:00
[Java] Simplify ray cmd params (#10394)
This commit is contained in:
+2
-1
@@ -51,7 +51,8 @@ public class RayUtils {
|
||||
nodeIdBytes[byteIndex] = String.valueOf(i).getBytes()[0];
|
||||
}
|
||||
NodeInfo nodeInfo = new NodeInfo(new UniqueId(nodeIdBytes),
|
||||
"localhost" + i, "localhost" + i,
|
||||
"localhost" + i, "localhost" + i, -1,
|
||||
"", "",
|
||||
true, resources);
|
||||
nodeInfos.add(nodeInfo);
|
||||
}
|
||||
|
||||
+4
@@ -68,6 +68,10 @@ public class Mockitools {
|
||||
createNodeId(i),
|
||||
"localhost" + i,
|
||||
"localhost" + i,
|
||||
-1,
|
||||
"",
|
||||
"",
|
||||
|
||||
true,
|
||||
resources);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user