mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +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{}
|
deviceMappings := map[string]string{}
|
||||||
for _, blockDevice := range info.BlockDevices {
|
for _, blockDevice := range info.BlockDevices {
|
||||||
deviceMappings[blockDevice.DeviceName] = blockDevice.VolumeID
|
deviceMappings[blockDevice.DeviceName] = blockDevice.VolumeId
|
||||||
}
|
}
|
||||||
self.deviceMappings = deviceMappings
|
self.deviceMappings = deviceMappings
|
||||||
}
|
}
|
||||||
@ -938,7 +938,7 @@ func (aws *AWSCloud) CreateVolume(volumeOptions *VolumeOptions) (string, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
az := response.AvailZone
|
az := response.AvailZone
|
||||||
awsID := response.VolumeID
|
awsID := response.VolumeId
|
||||||
|
|
||||||
volumeName := "aws://" + az + "/" + awsID
|
volumeName := "aws://" + az + "/" + awsID
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user