diff --git a/core/src/main/java/org/polypheny/db/adapter/java/AdapterTemplate.java b/core/src/main/java/org/polypheny/db/adapter/java/AdapterTemplate.java index 8c3328a10d..35dda5a411 100644 --- a/core/src/main/java/org/polypheny/db/adapter/java/AdapterTemplate.java +++ b/core/src/main/java/org/polypheny/db/adapter/java/AdapterTemplate.java @@ -79,7 +79,7 @@ public static List getAllSettings( Class settings = new ArrayList<>( AbstractAdapterSetting.fromAnnotations( clazz.getAnnotations(), properties ) ); if ( Arrays.stream( properties.usedModes() ).anyMatch( m -> m == DeployMode.DOCKER ) ) { String instanceId = DockerManager.getInstance().getDockerInstances().keySet().stream().findFirst().orElse( 0 ).toString(); - settings.add( new AbstractAdapterSettingList( "instanceId", false, null, true, false, Arrays.stream( properties.usedModes() ).map( DeployMode::getName ).collect( Collectors.toList() ), List.of( DeploySetting.DOCKER ), instanceId, 0 ) ); + settings.add( new AbstractAdapterSettingList( "instanceId", false, null, true, false, DockerManager.getInstance().getDockerInstances().keySet().stream().map( Object::toString ).collect( Collectors.toList() ), List.of( DeploySetting.DOCKER ), instanceId, 0 ) ); } return settings; }