From c74df8b6529c8c9e3b49f3c935bd08f8ae622a2e Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Thu, 31 Oct 2019 12:15:53 -0700 Subject: [PATCH] builder/amazon/common: remove dead test function getMockConnSpot() --- builder/amazon/common/step_run_spot_instance_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/builder/amazon/common/step_run_spot_instance_test.go b/builder/amazon/common/step_run_spot_instance_test.go index e39e05db9..7036e45c9 100644 --- a/builder/amazon/common/step_run_spot_instance_test.go +++ b/builder/amazon/common/step_run_spot_instance_test.go @@ -57,14 +57,6 @@ func (m *mockEC2ConnSpot) DescribeSpotPriceHistory(copyInput *ec2.DescribeSpotPr } -func getMockConnSpot() ec2iface.EC2API { - mockConn := &mockEC2ConnSpot{ - Config: aws.NewConfig(), - } - - return mockConn -} - // Create statebag for running test func tStateSpot() multistep.StateBag { state := new(multistep.BasicStateBag)