Clearer field names for the Tracker struct

This commit is contained in:
Justin Li
2014-07-16 11:29:40 -04:00
parent 2972aae231
commit d39a40c4fe
5 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func (t *Tracker) ServeScrape(w http.ResponseWriter, r *http.Request, p httprout
return http.StatusInternalServerError, err
}
conn, err := t.tp.Get()
conn, err := t.pool.Get()
if err != nil {
return http.StatusInternalServerError, err
}