From 69df51ab97375b2bdcdc3cf1258e8ebe9b6817b6 Mon Sep 17 00:00:00 2001 From: John Shahid Date: Wed, 27 Aug 2014 11:19:07 -0400 Subject: [PATCH] Format @pauldix code --- migration/level_db_shard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/level_db_shard.go b/migration/level_db_shard.go index 5c6b9a3a93e..d850d1012e2 100644 --- a/migration/level_db_shard.go +++ b/migration/level_db_shard.go @@ -631,7 +631,7 @@ func (self *LevelDbShard) getColumnNamesForSeries(db, series string) []string { } func (self *LevelDbShard) hasReadAccess(querySpec *parser.QuerySpec) bool { - for series, _ := range querySpec.SeriesValuesAndColumns() { + for series := range querySpec.SeriesValuesAndColumns() { if _, isRegex := series.GetCompiledRegex(); !isRegex { if !querySpec.HasReadAccess(series.Name) { return false