Skip to content

Commit 9730e5e

Browse files
review comment
1 parent d3470c9 commit 9730e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ ResolvedIndices resolveIndicesAndAliases(
344344
var unprefixed = crossProjectModeDecider.resolvesCrossProject(replaceable)
345345
? RemoteClusterAware.splitIndexName(expr)[1]
346346
: expr;
347-
return unprefixed != null ? IndexNameExpressionResolver.splitSelectorExpression(unprefixed).v1() : null;
347+
return IndexNameExpressionResolver.splitSelectorExpression(unprefixed).v1();
348348
});
349349
if (isAllIndices) {
350350
// This parses the single all-indices expression for a second time in this conditional branch, but this is better than

0 commit comments

Comments
 (0)