This is an automated email from the ASF dual-hosted git repository.
Aias00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 4cd79f566d refactor(k8s): remove redundant context path null check
(#7523)
4cd79f566d is described below
commit 4cd79f566d836defcebf510754e006acf354a173
Author: Swati Kumari <[email protected]>
AuthorDate: Sat Oct 10 07:14:21 2026 +0530
refactor(k8s): remove redundant context path null check (#7523)
---
.../src/main/java/org/apache/shenyu/k8s/parser/ContextPathParser.java | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/parser/ContextPathParser.java
b/shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/parser/ContextPathParser.java
index f42e86db8b..e2d2f3be15 100644
---
a/shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/parser/ContextPathParser.java
+++
b/shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/parser/ContextPathParser.java
@@ -123,9 +123,6 @@ public class ContextPathParser implements
K8sResourceParser<V1Ingress> {
OperatorEnum operator = getOperator(path.getPathType());
ConditionData pathCondition =
createPathCondition(pathPath, operator);
String contextPath =
annotations.get(IngressConstants.PLUGIN_CONTEXT_PATH_PATH);
- if (Objects.isNull(contextPath)) {
- continue;
- }
List<ConditionData> conditionListWithPath = new
ArrayList<>(2);
if (Objects.nonNull(hostCondition)) {
conditionListWithPath.add(hostCondition);