Fix some mistaken volumeId -> volumeID changes

This commit is contained in:
Justin Santa Barbara 2015-04-09 07:48:03 -07:00
parent 503e19e58c
commit 9462471bcd

View File

@ -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