client: fix constructor not setting authMode

Change-Id: I820079354291a67eb61dcc04fa8215037ec98ca8
This commit is contained in:
Brad Fitzpatrick 2013-12-27 17:13:33 -08:00
parent 7d4c86d0de
commit 19f4324066
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ func New(server string) *Client {
reqGate: make(chan bool, maxParallelHTTP), reqGate: make(chan bool, maxParallelHTTP),
haveCache: noHaveCache{}, haveCache: noHaveCache{},
log: log.New(os.Stderr, "", log.Ldate|log.Ltime), log: log.New(os.Stderr, "", log.Ldate|log.Ltime),
authMode: auth.None{},
} }
} }