Skip to content

Commit

Permalink
feat: 网关新增强制路由集群 #4662
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Jul 15, 2021
1 parent 9a2eb1d commit 6bf2263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class FeignConfiguration {
@Bean
fun gatewayTagRequestInterceptor(): RequestInterceptor {
return RequestInterceptor { requestTemplate ->
logger.info("add X-HEAD-CONSUL-TAG $tag")
logger.info("add X-GATEWAY-TAG $tag")
if (!requestTemplate.headers().containsKey(AUTH_HEADER_GATEWAY_TAG)) {
requestTemplate.header(AUTH_HEADER_GATEWAY_TAG, tag)
}
Expand Down

0 comments on commit 6bf2263

Please sign in to comment.