diff --git a/builder/fscache/fscache.go b/builder/fscache/fscache.go index 8897fe16d8..4c3b9a6cd5 100644 --- a/builder/fscache/fscache.go +++ b/builder/fscache/fscache.go @@ -497,6 +497,7 @@ type sourceMeta struct { Size int64 } +//nolint:structcheck type cachedSource struct { sourceMeta refs map[*cachedSourceRef]struct{} diff --git a/daemon/graphdriver/vfs/quota_linux.go b/daemon/graphdriver/vfs/quota_linux.go index f579fc092b..3af797819e 100644 --- a/daemon/graphdriver/vfs/quota_linux.go +++ b/daemon/graphdriver/vfs/quota_linux.go @@ -5,6 +5,7 @@ import ( "github.com/sirupsen/logrus" ) +//nolint:structcheck type driverQuota struct { quotaCtl *quota.Control quotaOpt quota.Quota