Skip to content

Commit

Permalink
feat:希望支持分支进行上架测试 #4780
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Nov 6, 2023
1 parent 940f240 commit 15cf27d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
if (validateAtomVersionResult.isNotOk()) {
return Result(status = validateAtomVersionResult.status, message = validateAtomVersionResult.message ?: "")
}
var atomId = if (atomPackageSourceType == PackageSourceTypeEnum.UPLOAD) {
val atomId = if (atomPackageSourceType == PackageSourceTypeEnum.UPLOAD) {
redisOperation.get("$ATOM_UPLOAD_ID_KEY_PREFIX:$atomCode:$version")
?: throw ErrorCodeException(errorCode = USER_UPLOAD_PACKAGE_INVALID)
} else {
Expand Down Expand Up @@ -1260,7 +1260,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
}
}

private fun updateAtomVersionInfo(
protected fun updateAtomVersionInfo(
userId: String,
projectCode: String,
newVersionFlag: Boolean,
Expand Down

0 comments on commit 15cf27d

Please sign in to comment.