From e822657e2dc85587d48bd7c5020e229dd058822f Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Sun, 21 Feb 2016 07:57:30 +0100 Subject: [PATCH] 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 --- .../workflow/launch-instance/launch-instance-model.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js index 0e19599e23..d8000bb108 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js @@ -424,7 +424,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));