From 07f8bf3155dd2e2c56c608794a9e61a4a18a637d Mon Sep 17 00:00:00 2001 From: Martin Vahlensieck Date: Thu, 30 May 2024 08:48:18 +0200 Subject: [PATCH] Adds Missing PolyphenyInstance call for Docker --- .../polypheny/simpleclient/executor/PolyphenyDbExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/polypheny/simpleclient/executor/PolyphenyDbExecutor.java b/src/main/java/org/polypheny/simpleclient/executor/PolyphenyDbExecutor.java index 080912f..27f5e1c 100644 --- a/src/main/java/org/polypheny/simpleclient/executor/PolyphenyDbExecutor.java +++ b/src/main/java/org/polypheny/simpleclient/executor/PolyphenyDbExecutor.java @@ -273,7 +273,7 @@ default String deployNeo4j() throws ExecutorException { default int getDockerInstanceId() { - String url = "http://localhost:" + PolyphenyVersionSwitch.getInstance().uiPort + "/getDockerInstances"; + String url = "http://localhost:" + PolyphenyVersionSwitch.getInstance().uiPort + PolyphenyVersionSwitch.getInstance().dockerInstancesEndpoint; HttpResponse response = Unirest.get( url ).asString(); if ( response.getStatus() == 200 ) {