From a4ee6e27b9f83f7ea90ec048ae226c35a9b685a1 Mon Sep 17 00:00:00 2001 From: laser Date: Fri, 1 May 2020 09:31:34 -0700 Subject: [PATCH] ignore unused field --- selector_task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selector_task.go b/selector_task.go index 2f20f9a28..3298c9e5d 100644 --- a/selector_task.go +++ b/selector_task.go @@ -10,7 +10,7 @@ import ( ) type taskSelector struct { - best []stores.StorageInfo + best []stores.StorageInfo //nolint: unused, structcheck } func newTaskSelector() *taskSelector {