diff --git a/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/pojo/trigger/PipelineEventReplayInfo.kt b/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/pojo/trigger/PipelineEventReplayInfo.kt index 193b1242a43..8731bf4fe4c 100644 --- a/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/pojo/trigger/PipelineEventReplayInfo.kt +++ b/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/pojo/trigger/PipelineEventReplayInfo.kt @@ -36,8 +36,8 @@ import io.swagger.annotations.ApiModelProperty data class PipelineEventReplayInfo( @ApiModelProperty("触发人") val userId: String -){ - companion object{ +) { + companion object { /** * 获取触发信息 * 若为[重放事件]时,触发人为[回放者],且事件描述采用重放相关文案code diff --git a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineWebhookService.kt b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineWebhookService.kt index 749741478fa..8114629f579 100644 --- a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineWebhookService.kt +++ b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineWebhookService.kt @@ -714,7 +714,7 @@ class PipelineWebhookService @Autowired constructor( if (elementRepositoryConfig.getRepositoryId() != webhookRepositoryConfig.getRepositoryId()) { logger.info( "webhook repository config different from element repository config|" + - "webhook:${webhookRepositoryConfig}|element:${elementRepositoryConfig}" + "webhook:$webhookRepositoryConfig|element:$elementRepositoryConfig" ) return@webhook } @@ -746,7 +746,7 @@ class PipelineWebhookService @Autowired constructor( repositoryHashId = repository?.repoHashId ) } catch (ignored: Exception) { - logger.info("update webhook event info error|${webhook}", ignored) + logger.info("update webhook event info error|$webhook", ignored) } } }