From e5ada5a20daca3355d3cdb993f0563fe93435c34 Mon Sep 17 00:00:00 2001 From: Gareth Evans Date: Fri, 23 Jul 2021 10:26:28 +0100 Subject: [PATCH] Fixed linter issues --- pkg/cmd/compile.go | 7 ++++--- pkg/manifest/struct_test.go | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pkg/cmd/compile.go b/pkg/cmd/compile.go index f85f458..fb21374 100644 --- a/pkg/cmd/compile.go +++ b/pkg/cmd/compile.go @@ -1,15 +1,16 @@ package cmd import ( - "code.cloudfoundry.org/bosh-compile-action/pkg" - "code.cloudfoundry.org/bosh-compile-action/pkg/manifest" - "code.cloudfoundry.org/bosh-compile-action/pkg/util" "errors" "fmt" "io/ioutil" "os" "path/filepath" + "code.cloudfoundry.org/bosh-compile-action/pkg" + "code.cloudfoundry.org/bosh-compile-action/pkg/manifest" + "code.cloudfoundry.org/bosh-compile-action/pkg/util" + "github.com/sirupsen/logrus" "github.com/spf13/cobra" "gopkg.in/yaml.v2" diff --git a/pkg/manifest/struct_test.go b/pkg/manifest/struct_test.go index 7c0b7de..fabeff3 100644 --- a/pkg/manifest/struct_test.go +++ b/pkg/manifest/struct_test.go @@ -1,12 +1,13 @@ package manifest_test import ( - "code.cloudfoundry.org/bosh-compile-action/pkg/manifest" "fmt" "io/ioutil" "path/filepath" "testing" + "code.cloudfoundry.org/bosh-compile-action/pkg/manifest" + "github.com/stretchr/testify/assert" "gopkg.in/yaml.v2" )