From 691a376bff6a4c2438208b7db45a323b1ffb85d5 Mon Sep 17 00:00:00 2001 From: Jan Cajthaml Date: Tue, 30 Apr 2019 07:47:47 +0200 Subject: [PATCH] nit --- services/fio-bco-import/daemon/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/fio-bco-import/daemon/import.go b/services/fio-bco-import/daemon/import.go index 436c2a6c..429a0d27 100644 --- a/services/fio-bco-import/daemon/import.go +++ b/services/fio-bco-import/daemon/import.go @@ -54,7 +54,7 @@ func (fio FioImport) getActiveTokens() ([]string, error) { return nil, err } notBefore := time.Now().Add(time.Second * time.Duration(-6)) - uniq := make([]string, 0, len(tokens)) + uniq := make([]string, 0) visited := make(map[string]bool) for _, token := range tokens { if !token.CreatedAt.Before(notBefore) {