From 3f291908d9b7b710b5648906cbc23ad6e8269754 Mon Sep 17 00:00:00 2001 From: Haotian Zhang <928016560@qq.com> Date: Mon, 25 Sep 2023 11:34:51 +0800 Subject: [PATCH] docs:update PR template. --- .github/PULL_REQUEST_TEMPLATE.md | 1 + .../tencent/cloud/common/pojo/PolarisServiceInstance.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e516afb42..a56dd0d4b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -28,3 +28,4 @@ fixes # - [ ] Will pull request to branch of 2020.0. - [ ] Will pull request to branch of 2022.0. +- [ ] Will pull request to branch of hoxton. diff --git a/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/pojo/PolarisServiceInstance.java b/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/pojo/PolarisServiceInstance.java index e4fc2934c..d5f28e597 100644 --- a/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/pojo/PolarisServiceInstance.java +++ b/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/pojo/PolarisServiceInstance.java @@ -95,6 +95,11 @@ public class PolarisServiceInstance implements ServiceInstance { return this.scheme; } + /** + * To fix loadbalancer not working bug when importing spring-retry. + * @param o object + * @return if equals + */ @Override public boolean equals(Object o) { if (this == o) {