From e84c503bbee96c339ecb3d81949188a62caf4889 Mon Sep 17 00:00:00 2001 From: Greg Westerfield Date: Tue, 7 Jun 2022 13:47:35 -0400 Subject: [PATCH] fix linter --- internal/test/e2e/run.go | 1 + internal/test/e2e/testRunner.go | 3 ++- test/framework/cluster.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/test/e2e/run.go b/internal/test/e2e/run.go index 4de575cbecab9..b1ac75a2acd40 100644 --- a/internal/test/e2e/run.go +++ b/internal/test/e2e/run.go @@ -10,6 +10,7 @@ import ( "sync" "github.com/aws/aws-sdk-go/aws/session" + "github.com/aws/eks-anywhere/internal/pkg/api" "github.com/aws/eks-anywhere/internal/pkg/s3" "github.com/aws/eks-anywhere/internal/pkg/ssm" diff --git a/internal/test/e2e/testRunner.go b/internal/test/e2e/testRunner.go index 6b1c406ce0754..4a40c9464f5de 100644 --- a/internal/test/e2e/testRunner.go +++ b/internal/test/e2e/testRunner.go @@ -8,12 +8,13 @@ import ( "time" aws_ssm "github.com/aws/aws-sdk-go/service/ssm" + "gopkg.in/yaml.v2" + "github.com/aws/eks-anywhere/internal/pkg/ec2" "github.com/aws/eks-anywhere/internal/pkg/ssm" "github.com/aws/eks-anywhere/internal/pkg/vsphere" "github.com/aws/eks-anywhere/pkg/logger" "github.com/aws/eks-anywhere/pkg/retrier" - "gopkg.in/yaml.v2" ) const ( diff --git a/test/framework/cluster.go b/test/framework/cluster.go index adae8bf9e199a..bb9f47a80d339 100644 --- a/test/framework/cluster.go +++ b/test/framework/cluster.go @@ -382,7 +382,7 @@ func (e *ClusterE2ETest) GenerateClusterConfigForVersion(eksaVersion string, opt e.buildClusterConfigFile() e.cleanup(func() { - //os.Remove(e.ClusterConfigLocation) + os.Remove(e.ClusterConfigLocation) }) }