Skip to content

Commit

Permalink
fix: [CI-14032]: refractor
Browse files Browse the repository at this point in the history
  • Loading branch information
ShobhitSingh11 committed Aug 28, 2024
1 parent 04fc605 commit bf6c82e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/amazon/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,6 @@ func (p *provider) create(ctx context.Context, opts autoscaler.InstanceCreateOpt
},
}

// if p.imdsTokens != "" {
// in.MetadataOptions = &ec2.InstanceMetadataOptionsRequest{
// HttpTokens: aws.String(p.imdsTokens),
// }
// }

if p.volumeType == "io1" || p.volumeType == "io2" || p.volumeType == "gp3" {
for _, blockDeviceMapping := range in.BlockDeviceMappings {
if p.volumeIops > 0 {
Expand Down

0 comments on commit bf6c82e

Please sign in to comment.