mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Fix some mistaken volumeId -> volumeID changes
This commit is contained in:
parent
503e19e58c
commit
9462471bcd
@ -661,7 +661,7 @@ func (self *awsInstance) assignMountDevice(volumeID string) (mountDevice string,
|
||||
}
|
||||
deviceMappings := map[string]string{}
|
||||
for _, blockDevice := range info.BlockDevices {
|
||||
deviceMappings[blockDevice.DeviceName] = blockDevice.VolumeID
|
||||
deviceMappings[blockDevice.DeviceName] = blockDevice.VolumeId
|
||||
}
|
||||
self.deviceMappings = deviceMappings
|
||||
}
|
||||
@ -938,7 +938,7 @@ func (aws *AWSCloud) CreateVolume(volumeOptions *VolumeOptions) (string, error)
|
||||
}
|
||||
|
||||
az := response.AvailZone
|
||||
awsID := response.VolumeID
|
||||
awsID := response.VolumeId
|
||||
|
||||
volumeName := "aws://" + az + "/" + awsID
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user