Skip to content
Snippets Groups Projects
Commit a507dedd authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

fix: bad task name

parent 3a95917f
Branches
No related tags found
No related merge requests found
...@@ -335,7 +335,7 @@ public class HaaSClient { ...@@ -335,7 +335,7 @@ public class HaaSClient {
private long doCreateJob(String name, int numberOfNodes, Collection<Entry<String, String>> templateParameters) private long doCreateJob(String name, int numberOfNodes, Collection<Entry<String, String>> templateParameters)
throws RemoteException, ServiceException { throws RemoteException, ServiceException {
Collection<TaskSpecificationExt> taskSpec = Arrays Collection<TaskSpecificationExt> taskSpec = Arrays
.asList(createTaskSpecification(name + ": ", templateId, numberOfNodes, templateParameters)); .asList(createTaskSpecification(name + "-task", templateId, numberOfNodes, templateParameters));
JobSpecificationExt jobSpecification = createJobSpecification(name, numberOfNodes, taskSpec); JobSpecificationExt jobSpecification = createJobSpecification(name, numberOfNodes, taskSpec);
SubmittedJobInfoExt job = getJobManagement().createJob(jobSpecification, getSessionID()); SubmittedJobInfoExt job = getJobManagement().createJob(jobSpecification, getSessionID());
return job.getId(); return job.getId();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment