From 5cdebd7e603e96280b43d4c53d6fb67891893ab4 Mon Sep 17 00:00:00 2001 From: jiangpch Date: Tue, 13 Dec 2016 15:40:20 +0800 Subject: [PATCH] fix bug: change getSelectedImage to getSelectedImageOrSnapshot Closes-bug: #1649496 Change-Id: Ic6d1990e4600523c0a62f38751750d64386ad022 --- cloudkittydashboard/static/cloudkitty/js/pricing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudkittydashboard/static/cloudkitty/js/pricing.js b/cloudkittydashboard/static/cloudkitty/js/pricing.js index c6b5515..8fe6280 100644 --- a/cloudkittydashboard/static/cloudkitty/js/pricing.js +++ b/cloudkittydashboard/static/cloudkitty/js/pricing.js @@ -51,7 +51,7 @@ pricing = { // Quota available → what about the selected flavor if (horizon.Quota.selected_flavor) { // get data of the flavor (form) - _image = horizon.Quota.getSelectedImage(); + _image = horizon.Quota.getSelectedImageOrSnapshot(); var flavor = horizon.Quota.selected_flavor.name; var vcpus = horizon.Quota.selected_flavor.vcpus; var disk = horizon.Quota.selected_flavor.disk;