Skip to content

Commit

Permalink
模板里面设置版本号带有“/”无法进行删除 issue:TencentBlueKing#6023
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Feb 28, 2022
1 parent d3779ba commit 6b5b93c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import com.tencent.devops.process.utils.PIPELINE_SETTING_MAX_QUEUE_SIZE_MIN
import com.tencent.devops.process.utils.PIPELINE_SETTING_WAIT_QUEUE_TIME_MINUTE_MAX
import com.tencent.devops.process.utils.PIPELINE_SETTING_WAIT_QUEUE_TIME_MINUTE_MIN
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.util.Base64Utils

/**
* deng
Expand Down Expand Up @@ -82,7 +83,7 @@ class UserPTemplateResourceImpl @Autowired constructor(private val templateFacad
projectId = projectId,
userId = userId,
templateId = templateId,
versionName = versionName
versionName = String(Base64Utils.decodeFromString(versionName))
))
}

Expand Down

0 comments on commit 6b5b93c

Please sign in to comment.