From 25920b2bd3ff5cc0df731c65fe9e69fb15d09095 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 23 Feb 2021 10:38:15 -0800 Subject: [PATCH] remove unused mock fields --- .../amazon/ebsvolume/step_snapshot_ebs_volumes_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/builder/amazon/ebsvolume/step_snapshot_ebs_volumes_test.go b/builder/amazon/ebsvolume/step_snapshot_ebs_volumes_test.go index b4b432319..fa946efc7 100644 --- a/builder/amazon/ebsvolume/step_snapshot_ebs_volumes_test.go +++ b/builder/amazon/ebsvolume/step_snapshot_ebs_volumes_test.go @@ -4,7 +4,6 @@ import ( "bytes" "context" "fmt" - "sync" "testing" "github.com/aws/aws-sdk-go/aws" @@ -22,15 +21,6 @@ import ( type mockEC2Conn struct { ec2iface.EC2API Config *aws.Config - - // Counters to figure out what code path was taken - copyImageCount int - describeImagesCount int - deregisterImageCount int - deleteSnapshotCount int - waitCount int - - lock sync.Mutex } func (m *mockEC2Conn) CreateSnapshot(input *ec2.CreateSnapshotInput) (*ec2.Snapshot, error) {