jdeppe-pivotal commented on a change in pull request #7363:
URL: https://github.com/apache/geode/pull/7363#discussion_r806451743
##########
File path:
geode-for-redis/src/main/java/org/apache/geode/redis/internal/GeodeRedisServer.java
##########
@@ -110,23 +108,7 @@ private static RedisStats createStats(InternalCache cache,
String bindAddress, i
StatisticsClockFactory.clock(true);
return new RedisStats(statisticsClock,
- new GeodeRedisStats(system.getStatisticsManager(),
getServerName(bindAddress, port),
- statisticsClock));
- }
-
- private static String getServerName(String bindAddress, int port) {
- String name = "geodeForRedis:";
- if (bindAddress != null && !bindAddress.isEmpty()) {
- name += bindAddress;
- } else {
- try {
- name += LocalHostUtil.getCanonicalLocalHostName();
- } catch (UnknownHostException e) {
- name += "*.*.*.*";
- }
- }
- name += ':' + port;
- return name;
+ new GeodeRedisStats(system.getStatisticsManager(), statisticsClock));
Review comment:
Removed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]