Skip to content

Commit

Permalink
Remove trailing new line
Browse files Browse the repository at this point in the history
  • Loading branch information
autotune committed Oct 5, 2023
1 parent 5c079b3 commit 2fb0927
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/service/ec2/ec2_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -1087,9 +1087,7 @@ func resourceInstanceCreate(ctx context.Context, d *schema.ResourceData, meta in
log.Printf("[ERR] Error creating tags for EBS volume %s: %s", vol, err)
}
}

}

// Update if we need to
return append(diags, resourceInstanceUpdate(ctx, d, meta)...)
}
Expand Down Expand Up @@ -1492,7 +1490,6 @@ func resourceInstanceUpdate(ctx context.Context, d *schema.ResourceData, meta in
}

if d.HasChange("root_block_device.0.tags") {

tagSpecifications := getTagSpecificationsIn(ctx, ec2.ResourceTypeInstance)

// Declare the map outside the loops so values aren't overwritten
Expand Down Expand Up @@ -2643,7 +2640,6 @@ func readBlockDeviceMappingsFromConfig(ctx context.Context, d *schema.ResourceDa
}
}
}

return blockDevices, nil
}

Expand Down

0 comments on commit 2fb0927

Please sign in to comment.