From 9faf5654535e4dc93498e9726de31c7ac21ba25f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 5 Aug 2019 15:38:56 +0200 Subject: [PATCH] pkg/devicemapper: disable unused and varcheck linters Signed-off-by: Sebastiaan van Stijn --- pkg/devicemapper/devmapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/devicemapper/devmapper.go b/pkg/devicemapper/devmapper.go index 5cbab01f4c..f9356f5ba6 100644 --- a/pkg/devicemapper/devmapper.go +++ b/pkg/devicemapper/devmapper.go @@ -14,7 +14,7 @@ import ( ) // Same as DM_DEVICE_* enum values from libdevmapper.h -// nolint: deadcode +// nolint: deadcode,unused,varcheck const ( deviceCreate TaskType = iota deviceReload