From c7f472a846c22f7b30de612bec37b7e0152721ea Mon Sep 17 00:00:00 2001 From: "yusuke.koyoshi" Date: Mon, 1 Jul 2024 12:37:13 +0900 Subject: [PATCH] Fix import order Signed-off-by: yusuke.koyoshi --- pkg/fanal/walker/vm.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/fanal/walker/vm.go b/pkg/fanal/walker/vm.go index 51aa85cff644..0bc3e87ac86d 100644 --- a/pkg/fanal/walker/vm.go +++ b/pkg/fanal/walker/vm.go @@ -8,9 +8,6 @@ import ( "slices" "strings" - "github.com/aquasecurity/trivy/pkg/fanal/vm/filesystem" - "github.com/aquasecurity/trivy/pkg/log" - xio "github.com/aquasecurity/trivy/pkg/x/io" "github.com/masahiro331/go-disk" diskFs "github.com/masahiro331/go-disk/fs" "github.com/masahiro331/go-disk/gpt" @@ -19,6 +16,10 @@ import ( "github.com/masahiro331/go-ext4-filesystem/ext4" "github.com/masahiro331/go-xfs-filesystem/xfs" "golang.org/x/xerrors" + + "github.com/aquasecurity/trivy/pkg/fanal/vm/filesystem" + "github.com/aquasecurity/trivy/pkg/log" + xio "github.com/aquasecurity/trivy/pkg/x/io" ) var requiredDiskName = []string{