builder/amazon/common: remove dead test function getMockConnSpot()

This commit is contained in:
Lars Lehtonen 2019-10-31 12:15:53 -07:00
parent e5e2bfa83f
commit c74df8b652
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 0 additions and 8 deletions

View File

@ -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)