Skip to content

Commit 4cd79f5

Browse files
refactor(k8s): remove redundant context path null check (#7523)
1 parent 26350ad commit 4cd79f5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/parser/ContextPathParser.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ private List<IngressConfiguration> parseIngressRule(final V1IngressRule ingressR
123123
OperatorEnum operator = getOperator(path.getPathType());
124124
ConditionData pathCondition = createPathCondition(pathPath, operator);
125125
String contextPath = annotations.get(IngressConstants.PLUGIN_CONTEXT_PATH_PATH);
126-
if (Objects.isNull(contextPath)) {
127-
continue;
128-
}
129126
List<ConditionData> conditionListWithPath = new ArrayList<>(2);
130127
if (Objects.nonNull(hostCondition)) {
131128
conditionListWithPath.add(hostCondition);

0 commit comments

Comments
 (0)