Skip to content

Commit

Permalink
fix: Spot instance requests were dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
kichik committed Jan 15, 2022
1 parent 98cea09 commit 15a8519
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/collect-aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ func requestSpotInstance(ctx context.Context, workItem wordOrder) error {
var instances int32 = 1

_, err := workItem.client.RequestSpotInstances(ctx, &ec2.RequestSpotInstancesInput{
DryRun: aws.Bool(true),
InstanceCount: &instances,
ValidUntil: aws.Time(time.Now().UTC().Add(30 * time.Minute)),
LaunchSpecification: &types.RequestSpotLaunchSpecification{
Expand Down

0 comments on commit 15a8519

Please sign in to comment.