Skip to content

Commit

Permalink
UI needs the current state
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens committed Jul 12, 2023
1 parent db96e9a commit b523aa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webui/src/main/java/org/polypheny/db/webui/Crud.java
Original file line number Diff line number Diff line change
Expand Up @@ -3690,8 +3690,10 @@ void getAutoDockerStatus( final Context ctx ) {


void doAutoHandshake( final Context ctx ) {
boolean success = AutoDocker.getInstance().start();
ctx.json( Map.of(
"success", AutoDocker.getInstance().start(),
"success", success,
"status", AutoDocker.getInstance().getStatus(),
"instances", new ArrayList<>( DockerManager.getInstance().getDockerInstances().keySet() )
) );
}
Expand Down

0 comments on commit b523aa6

Please sign in to comment.