Skip to content

Commit

Permalink
Merge pull request #19458 from sberyozkin/keycloak-devservices_typos
Browse files Browse the repository at this point in the history
Fix minor DevServices for Keycloak typos
  • Loading branch information
gsmet authored Aug 17, 2021
2 parents 4914153 + 8480de2 commit 77d652e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class DevServicesConfig {

/**
* If DevServices has been explicitly enabled or disabled..
* If DevServices has been explicitly enabled or disabled.
* <p>
* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 77d652e

Please sign in to comment.