2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 19:08:55 +00:00

Go1.3: Fix range over channel

This commit is contained in:
Alexander Neumann 2015-03-28 15:52:15 +01:00
parent 2c136381c2
commit 1954680c9e

View File

@ -371,7 +371,7 @@ func (s Server) Stats() (ServerStats, error) {
// Count returns the number of blobs of a given type in the backend.
func (s Server) Count(t backend.Type) (n int) {
for range s.List(t, nil) {
for _ = range s.List(t, nil) {
n++
}