Skip to content

Commit

Permalink
removed unused function
Browse files Browse the repository at this point in the history
Signed-off-by: dirk39 <andreaquin1990@gmail.com>
  • Loading branch information
dirk39 authored and anGie44 committed Jan 26, 2022
1 parent 9389ed3 commit 5ac8e8c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/service/ec2/spot_instance_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,16 +695,6 @@ func testAccCheckSpotInstanceRequestRecreated(before, after *ec2.SpotInstanceReq
}
}

func testAccCheckSpotInstanceRequestNotRecreated(before, after *ec2.SpotInstanceRequest) resource.TestCheckFunc {
return func(s *terraform.State) error {
if before, after := aws.StringValue(before.InstanceId), aws.StringValue(after.InstanceId); before != after {
return fmt.Errorf("Spot Instance (%s/%s) recreated", before, after)
}

return nil
}
}

func testAccSpotInstanceRequestConfig() string {
return acctest.ConfigCompose(
acctest.ConfigLatestAmazonLinuxHvmEbsAmi(),
Expand Down

0 comments on commit 5ac8e8c

Please sign in to comment.