diff options
Diffstat (limited to 'pkg/vminfo')
| -rw-r--r-- | pkg/vminfo/features.go | 1 | ||||
| -rw-r--r-- | pkg/vminfo/vminfo_test.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/pkg/vminfo/features.go b/pkg/vminfo/features.go index bf2d152ab..2be067d32 100644 --- a/pkg/vminfo/features.go +++ b/pkg/vminfo/features.go @@ -48,7 +48,6 @@ type featureResult struct { func (ctx *checkContext) startFeaturesCheck() { testProg := ctx.target.DataMmapProg() for feat := range flatrpc.EnumNamesFeature { - feat := feat if ctx.cfg.Features&feat == 0 { ctx.features <- featureResult{feat, "disabled by user"} continue diff --git a/pkg/vminfo/vminfo_test.go b/pkg/vminfo/vminfo_test.go index 7a50d5142..c54b43e21 100644 --- a/pkg/vminfo/vminfo_test.go +++ b/pkg/vminfo/vminfo_test.go @@ -49,7 +49,6 @@ func TestSyscalls(t *testing.T) { t.Parallel() for _, arches := range targets.List { for _, target := range arches { - target := target if target.OS == targets.Linux { continue // linux has own TestLinuxSyscalls test } |
