mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
structcheck: nolint for false positives
``` builder/fscache/fscache.go:505:2: `src` is unused (structcheck) builder/fscache/fscache.go:507:2: `cached` is unused (structcheck) daemon/graphdriver/vfs/quota_linux.go:9:2: `quotaCtl` is unused (structcheck) daemon/graphdriver/vfs/quota_linux.go:10:2: `quotaOpt` is unused (structcheck) ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9419024554
commit
3926b5f09d
2 changed files with 2 additions and 0 deletions
|
@ -497,6 +497,7 @@ type sourceMeta struct {
|
||||||
Size int64
|
Size int64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//nolint:structcheck
|
||||||
type cachedSource struct {
|
type cachedSource struct {
|
||||||
sourceMeta
|
sourceMeta
|
||||||
refs map[*cachedSourceRef]struct{}
|
refs map[*cachedSourceRef]struct{}
|
||||||
|
|
|
@ -5,6 +5,7 @@ import (
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
//nolint:structcheck
|
||||||
type driverQuota struct {
|
type driverQuota struct {
|
||||||
quotaCtl *quota.Control
|
quotaCtl *quota.Control
|
||||||
quotaOpt quota.Quota
|
quotaOpt quota.Quota
|
||||||
|
|
Loading…
Reference in a new issue