remove RESTClient.Timeout

This commit is contained in:
Chao Xu
2015-11-04 16:48:24 -08:00
parent 0512d45986
commit ac0b7b5d3b
3 changed files with 1 additions and 13 deletions

View File

@@ -879,9 +879,6 @@ func loadClient() (*client.Client, error) {
if err != nil {
return nil, fmt.Errorf("error creating client: %v", err.Error())
}
if c.Timeout == 0 {
c.Timeout = singleCallTimeout
}
return c, nil
}