From 856db728cc17080a335fc6e63ea8b496aa94e573 Mon Sep 17 00:00:00 2001 From: Anton Sidelnikov <53078276+anton-sidelnikov@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:35:58 +0200 Subject: [PATCH] fix image query for GPU flavors (#43) fix image query for GPU flavors GPU image now querying without any errors, cause was in __support_kvm query parameter, because GPU image have different one. Closes #42 Reviewed-by: Artem Lifshits --- component/client.js | 1 - component/component.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/component/client.js b/component/client.js index 643cbda..335e401 100644 --- a/component/client.js +++ b/component/client.js @@ -29,7 +29,6 @@ function viaProxy(url) { const validImageProperties = { visibility: 'public', protected: true, - __support_kvm: true, __os_type: 'Linux', __os_bit: 64, } diff --git a/component/component.js b/component/component.js index 673942c..b6d54d4 100644 --- a/component/component.js +++ b/component/component.js @@ -438,6 +438,7 @@ export default Ember.Component.extend(NodeDriver, { return [] } return this.otc.listNodeImages().then(images => { + console.log('Images: ', images) return images.map(i => { return { label: i.name,