Skip to content

Commit

Permalink
Fix docs: use getHost (#5288)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez authored May 9, 2022
1 parent b3b2a46 commit 84a635e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class AbstractIntegrationTest {
@DynamicPropertySource
static void redisProperties(DynamicPropertyRegistry registry) {
redis.start();
registry.add("spring.redis.host", redis::getContainerIpAddress);
registry.add("spring.redis.host", redis::getHost);
registry.add("spring.redis.port", redis::getFirstMappedPort);
}
}

0 comments on commit 84a635e

Please sign in to comment.