Skip to content

Commit

Permalink
Merge pull request #10450 from spotinst/fix-elastigroup-voltype
Browse files Browse the repository at this point in the history
Spotinst: Ignore volume type case sensitivity to prevent unnecessary updates
  • Loading branch information
k8s-ci-robot authored Dec 19, 2020
2 parents ef8c369 + 4275ac0 commit 409d007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/spotinsttasks/elastigroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (e *Elastigroup) Find(c *fi.Context) (*Elastigroup, error) {
actual.RootVolumeOpts.IOPS = fi.Int32(int32(fi.IntValue(b.EBS.IOPS)))
}

actual.RootVolumeOpts.Type = b.EBS.VolumeType
actual.RootVolumeOpts.Type = fi.String(strings.ToLower(fi.StringValue(b.EBS.VolumeType)))
actual.RootVolumeOpts.Size = fi.Int32(int32(fi.IntValue(b.EBS.VolumeSize)))
}
}
Expand Down

0 comments on commit 409d007

Please sign in to comment.