From 2d78e3a904ef80ee87b290ebff8a0dda6677fd15 Mon Sep 17 00:00:00 2001 From: Ravi Chamarthy Date: Fri, 27 Oct 2023 04:33:34 +0000 Subject: [PATCH] fix lint errors Signed-off-by: Ravi Chamarthy --- demo/disk.go | 2 +- demo/lvm.go | 2 +- demo/megaraid.go | 2 +- mockos/lvm_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/disk.go b/demo/disk.go index 243af03..f7a6cfd 100644 --- a/demo/disk.go +++ b/demo/disk.go @@ -5,10 +5,10 @@ import ( "fmt" "sort" + "github.com/urfave/cli/v2" "machinerun.io/disko" "machinerun.io/disko/linux" "machinerun.io/disko/partid" - "github.com/urfave/cli/v2" ) //nolint:gochecknoglobals diff --git a/demo/lvm.go b/demo/lvm.go index a4b0370..87cce9b 100644 --- a/demo/lvm.go +++ b/demo/lvm.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" + "github.com/urfave/cli/v2" "machinerun.io/disko" "machinerun.io/disko/linux" - "github.com/urfave/cli/v2" ) //nolint:gochecknoglobals diff --git a/demo/megaraid.go b/demo/megaraid.go index 3c11f90..e9db809 100644 --- a/demo/megaraid.go +++ b/demo/megaraid.go @@ -5,8 +5,8 @@ import ( "fmt" "strconv" - "machinerun.io/disko/megaraid" "github.com/urfave/cli/v2" + "machinerun.io/disko/megaraid" ) //nolint:gochecknoglobals diff --git a/mockos/lvm_test.go b/mockos/lvm_test.go index f82011e..b9e4ab1 100644 --- a/mockos/lvm_test.go +++ b/mockos/lvm_test.go @@ -4,10 +4,10 @@ import ( "strings" "testing" + . "github.com/smartystreets/goconvey/convey" "machinerun.io/disko" "machinerun.io/disko/mockos" "machinerun.io/disko/partid" - . "github.com/smartystreets/goconvey/convey" ) func TestPV(t *testing.T) {