Browse Source

hack(go-etcd): stop appending schema to everything

trying to get the new tests to pass.
Brandon Philips 12 years ago
parent
commit
0bb9fe9f50
1 changed files with 0 additions and 1 deletions
  1. 0 1
      third_party/github.com/coreos/go-etcd/etcd/client.go

+ 0 - 1
third_party/github.com/coreos/go-etcd/etcd/client.go

@@ -139,7 +139,6 @@ func (c *Client) internalSyncCluster(machines []string) bool {
 // serverName should contain both hostName and port
 // serverName should contain both hostName and port
 func (c *Client) createHttpPath(serverName string, _path string) string {
 func (c *Client) createHttpPath(serverName string, _path string) string {
 	httpPath := path.Join(serverName, _path)
 	httpPath := path.Join(serverName, _path)
-	httpPath = c.config.Scheme + "://" + httpPath
 	return httpPath
 	return httpPath
 }
 }