|
@@ -137,7 +137,8 @@ public class ProjectDomainService {
|
|
} else {
|
|
} else {
|
|
throw new RuntimeException("是否使用 gpu:" + isChoiceGpu);
|
|
throw new RuntimeException("是否使用 gpu:" + isChoiceGpu);
|
|
}
|
|
}
|
|
- } else if ("2".equals(modelType)) {
|
|
|
|
|
|
+ }
|
|
|
|
+ else if ("2".equals(modelType)) {
|
|
podString = FileUtil.read(new File(carsimPodTemplateYaml));
|
|
podString = FileUtil.read(new File(carsimPodTemplateYaml));
|
|
String replace0 = podString.replace("vtd-container", "vtd-" + projectId);
|
|
String replace0 = podString.replace("vtd-container", "vtd-" + projectId);
|
|
String replace1 = replace0.replace("simulation-cloud-ip", simulationCloudIp);
|
|
String replace1 = replace0.replace("simulation-cloud-ip", simulationCloudIp);
|