Merge pull request #44 from prometheus/small-13-compat-fix

Remove a Go 1.4ism to allow compilation under Go 1.3.
This commit is contained in:
Jeff Younker 2015-01-09 15:38:52 +01:00
commit af0ec0d3f1
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ func (r *registry) writePB(w io.Writer, writeEncoded encoder) (int, error) {
// Drain metricChan in case of premature return.
defer func() {
for range metricChan {
for _ = range metricChan {
}
}()