From 8480de25c8098bac1341e9fb4b26e2f9f96bd018 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Tue, 17 Aug 2021 17:09:06 +0100 Subject: [PATCH] Fix minor DevServices for Keycloak typos --- .../deployment/devservices/keycloak/DevServicesConfig.java | 2 +- .../devservices/keycloak/KeycloakDevServicesProcessor.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/DevServicesConfig.java b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/DevServicesConfig.java index 6681b830b2d01..f4c37befb9b44 100644 --- a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/DevServicesConfig.java +++ b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/DevServicesConfig.java @@ -13,7 +13,7 @@ public class DevServicesConfig { /** - * If DevServices has been explicitly enabled or disabled.. + * If DevServices has been explicitly enabled or disabled. *

* When DevServices is enabled Quarkus will attempt to automatically configure and start * Keycloak when running in Dev or Test mode and when Docker is running. diff --git a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java index 8dea28f0b523b..3e053fb929029 100644 --- a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java +++ b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java @@ -281,9 +281,9 @@ protected void configure() { if (useSharedNetwork) { // When a shared network is requested for the launched containers, we need to configure // the container to use it. We also need to create a hostname that will be applied to the returned - // Redis URL + // Keycloak URL setNetwork(Network.SHARED); - hostName = "redis-" + Base58.randomString(5); + hostName = "keycloak-" + Base58.randomString(5); setNetworkAliases(Collections.singletonList(hostName)); } else { if (fixedExposedPort.isPresent()) {