Skip to content

Commit

Permalink
Present public address for client URLs, not subnet address.
Browse files Browse the repository at this point in the history
See comment #4 (comment).
  • Loading branch information
geomacy authored and grkvlt committed Jul 8, 2016
1 parent 108787b commit 4148b71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ protected String getEtcdCtlCommand() {
/** @deprecated since 2.1.0. Use {@link #getAdvertiseClientUrls()} instead. */
@Deprecated
protected String getClientUrl() {
return String.format("%s://%s:%d", getClientProtocol(), getSubnetAddress(), getClientPort());
return String.format("%s://%s:%d", getClientProtocol(), getAddress(), getClientPort());
}

/** @deprecated since 2.1.0. Use {@link #getAdvertisePeerUrls()} instead. */
Expand Down

0 comments on commit 4148b71

Please sign in to comment.