Skip to content

Commit

Permalink
noFetch option fix for shadows search
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Mar 14, 2024
1 parent 2017b51 commit a7af650
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,7 @@ protected final Collection<SelectorOptions<GetOperationOptions>> getSearchOption
} else {
if (ResourceType.class.equals(getType()) || ShadowType.class.equals(getType())) {
GetOperationOptions root = SelectorOptions.findRootOptions(options);
if (root == null) {
options.add(new SelectorOptions<>(GetOperationOptions.createNoFetch()));
} else {
if (root != null) {
root.setNoFetch(Boolean.TRUE);
}
}
Expand Down

0 comments on commit a7af650

Please sign in to comment.