Skip to content

Commit 9458b6b

Browse files
authored
Restore notebook connection token on restart (#561)
1 parent b03a787 commit 9458b6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/notebooks/src/main/java/org/polypheny/db/notebooks/NotebooksPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private boolean checkContainer() {
9797

9898
Optional<DockerContainer> maybeContainer = DockerContainer.getContainerByUUID( ConfigManager.getInstance().getConfig( CONFIG_CONTAINER_KEY ).getString() );
9999
if ( maybeContainer.isPresent() ) {
100+
this.token = ConfigManager.getInstance().getConfig( CONFIG_TOKEN_KEY ).getString();
100101
this.container = maybeContainer.get();
101102
// just because the container exists does not mean it is running
102103
if ( !testConnection() ) {

0 commit comments

Comments
 (0)