Commit 605f99f7 authored by liugaoling's avatar liugaoling

masterId use projectId

parent 6ebad556
......@@ -55,7 +55,7 @@ public class CreateJobRequest extends CloudamRequest<CreateJobResponse> {
jsonObject.put("zoneId", jobDescription.getZoneId());
jsonObject.put("os", jobDescription.getAutoCluster().getOs());
jsonObject.put("slurmCommand", Base64.getEncoder().encodeToString(buildSbatchSubmit(jobDescription).getBytes()));
jsonObject.put("masterId", "6279cc3480533c0001adbf8b");
jsonObject.put("masterId", jobDescription.getProjectId());
System.out.println(jsonObject.toJSONString());
return jsonObject;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment