Trust sql middleware value conversion and stick to the spec type.

We had a fix for this for the standard launch instance dialog:
I2c5bc22c2e024e22ad641d2b367fa3de2dd7636b

But NG dialog was forgotten.

Change-Id: I27708a8fe3053dd86f08f5574492d301473997af
Closes-Bug: #1548017
(cherry picked from commit e822657e2d)
This commit is contained in:
Vincent Untz 2016-02-21 07:57:30 +01:00
parent 784e416db4
commit f68a2a1241
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@
SOURCE_TYPE_VOLUME_SNAPSHOT,
gettext('Volume Snapshot')
);
volumePromises.push(cinderAPI.getVolumes({ status: 'available', bootable: 1 })
volumePromises.push(cinderAPI.getVolumes({ status: 'available', bootable: true })
.then(onGetVolumes));
volumePromises.push(cinderAPI.getVolumeSnapshots({ status: 'available' })
.then(onGetVolumeSnapshots));