From c28a02aa67681883b221d816fac25764ca8b6c98 Mon Sep 17 00:00:00 2001
From: shouyuwang <93957183+shouyuwang@users.noreply.github.com>
Date: Thu, 23 Jun 2022 10:49:49 +0800
Subject: [PATCH] fix: ratelimit-callee-service UnknownHostException:
RateLimitCalleeService (#281)
* fix:UnknownHostException: RateLimitCalleeService
* Update CHANGELOG.md
---
CHANGELOG.md | 1 +
.../ratelimit-callee-service/pom.xml | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 58f263540..7825695db 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,3 +13,4 @@
- [Update GitHub Actions workflow](https://github.com/Tencent/spring-cloud-tencent/pull/273)
- [fix:fix TypeNotPresentException in @ConditionalOnClass of router.](https://github.com/Tencent/spring-cloud-tencent/pull/276)
- [fix:solve the chaos code problem on rejectTips.](https://github.com/Tencent/spring-cloud-tencent/pull/279)
+- [fix:solve ratelimit-callee-service UnknownHostException.](https://github.com/Tencent/spring-cloud-tencent/pull/281)
diff --git a/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml b/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml
index dd28040b5..cd9f48757 100644
--- a/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml
+++ b/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml
@@ -18,6 +18,11 @@
spring-boot-starter-web
+
+ com.tencent.cloud
+ spring-cloud-starter-tencent-polaris-discovery
+
+
com.tencent.cloud
spring-cloud-starter-tencent-polaris-ratelimit