Skip to content

Commit

Permalink
bug: CodeCC没有读取到配置时未初始化默认值 TencentBlueKing#6499
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKX1 committed Apr 6, 2022
1 parent c901304 commit 9893980
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CodeScoringConsumer @Autowired constructor(
private val logger = LoggerFactory.getLogger(CodeScoringConsumer::class.java)
}

@Value("\${codecc.public.url}")
@Value("\${codecc.public.url:#{null}}")
private val codeccGateWay: String? = null

/**
Expand Down

0 comments on commit 9893980

Please sign in to comment.