Skip to content

Commit 9025dd8

Browse files
committed
flip boolean
1 parent bc53734 commit 9025dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/action/TransportGetInferenceModelAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private void getSingleModel(
102102

103103
private void getAllModels(boolean doNotPersistEndpoints, ActionListener<GetInferenceModelAction.Response> listener) {
104104
modelRegistry.getAllModels(
105-
doNotPersistEndpoints == false,
105+
doNotPersistEndpoints,
106106
listener.delegateFailureAndWrap((l, models) -> executor.execute(ActionRunnable.supply(l, () -> parseModels(models))))
107107
);
108108
}

0 commit comments

Comments
 (0)