|
|
@@ -127,10 +127,9 @@ public class AppBuildServiceImpl implements AppBuildService {
|
|
|
buildDirService.eraseLocalRepo(appId);
|
|
|
}
|
|
|
|
|
|
- int repoAuthId = appConfigUpdateDto.getRepoAuthConfigId();
|
|
|
- int compilerId = appConfigUpdateDto.getCompilerConfigId();
|
|
|
- int packerId = appConfigUpdateDto.getPackerConfigId();
|
|
|
- BuildConfig buildConfig = buildConfigChecker.checkAndGet(repoAuthId, compilerId, packerId);
|
|
|
+ String compilerName = appConfigUpdateDto.getCompilerConfig();
|
|
|
+ String packerName = appConfigUpdateDto.getPackerConfig();
|
|
|
+ BuildConfig buildConfig = buildConfigChecker.checkAndGet(compilerName, packerName);
|
|
|
appConfig.update(appConfigUpdateDto, buildConfig);
|
|
|
appBuildRepository.update(appConfig);
|
|
|
return Result.result(ResultStatus.SUCCESS);
|