Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

"hostname" attribute should include port

Change-Id: If8e828002a861f3c1e2cd0037c6db56780c8ed8d
Reviewed-on: http://review.couchbase.org/12893
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  • Loading branch information...
commit 74149fc1ab86fa7171688bf3c7b68c140ff6b80f 1 parent f6dc3cf
@avsej avsej authored ingenthr committed
View
2  src/main/java/org/couchbase/mock/memcached/MemcachedServer.java
@@ -156,7 +156,7 @@ public String toString() {
map.put("replication", 1);
map.put("clusterMembership", "active");
map.put("status", "healthy");
- map.put("hostname", hostname);
+ map.put("hostname", getSocketName());
map.put("clusterCompatibility", 1);
map.put("version", "9.9.9");
StringBuilder sb = new StringBuilder(System.getProperty("os.arch"));
Please sign in to comment.
Something went wrong with that request. Please try again.