Skip to content

Commit

Permalink
fix image query for GPU flavors (#43)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
anton-sidelnikov authored Sep 25, 2024
1 parent 485dda3 commit 856db72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion component/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ function viaProxy(url) {
const validImageProperties = {
visibility: 'public',
protected: true,
__support_kvm: true,
__os_type: 'Linux',
__os_bit: 64,
}
Expand Down
1 change: 1 addition & 0 deletions component/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 856db72

Please sign in to comment.