This commit is contained in:
Xiang Li
2013-08-17 21:21:18 -07:00
parent 5357fb431e
commit 1527b7008c
3 changed files with 2 additions and 3 deletions

View File

@ -116,7 +116,7 @@ func (c *Client) SyncCluster() bool {
// sync cluster information by providing machine list
func (c *Client) internalSyncCluster(machines []string) bool {
for _, machine := range machines {
httpPath := c.createHttpPath(machine, "machines")
httpPath := c.createHttpPath(machine, "v1/machines")
resp, err := c.httpClient.Get(httpPath)
if err != nil {
// try another machine in the cluster