Skip to content

Commit

Permalink
New perf test
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Jul 3, 2024
1 parent 1408517 commit 300d138
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public ReplaceResult replaceDashboardsIndex(
}
};

IndexResolverReplacer indexResolverReplacer = new IndexResolverReplacer(() -> clusterState, null, threadContext);
IndexResolverReplacer indexResolverReplacer = new IndexResolverReplacer(indexNameExpressionResolver, () -> clusterState, null);
NamedXContentRegistry namedXContentRegistry = NamedXContentRegistry.EMPTY;

DynamicConfigModelV7 dynamicConfigModel = new DynamicConfigModelV7(
Expand All @@ -570,7 +570,6 @@ public ReplaceResult replaceDashboardsIndex(
);

PrivilegesEvaluator privilegesEvaluator = new PrivilegesEvaluator(
null,
() -> clusterState,
threadContext,
configurationRepository,
Expand All @@ -580,6 +579,7 @@ public ReplaceResult replaceDashboardsIndex(
privilegesInterceptor,
null,
indexResolverReplacer,
false,
namedXContentRegistry
);

Expand Down

0 comments on commit 300d138

Please sign in to comment.