mirror of https://github.com/kubernetes/kops.git
Merge pull request #10450 from spotinst/fix-elastigroup-voltype
Spotinst: Ignore volume type case sensitivity to prevent unnecessary updates
This commit is contained in:
commit
409d0075c0
|
@ -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)))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue