Commit 9d497e08 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

ui: Rename flavor 'cpu' to 'vcpus'

parent f97f2a18
......@@ -1893,7 +1893,11 @@
},
parse: function (resp, xhr) {
return _.map(resp.flavors, function(o) { o.disk_template = o['SNF:disk_template']; return o});
return _.map(resp.flavors, function(o) {
o.cpu = o['vcpus'];
o.disk_template = o['SNF:disk_template'];
return o
});
},
comparator: function(flv) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment