We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11c1c2a commit e8e3f54Copy full SHA for e8e3f54
ui/scripts/instances.js
@@ -1738,9 +1738,14 @@
1738
},
1739
action: function(args) {
1740
var rootVolume = {};
1741
+ var data = {
1742
+ virtualmachineid: args.context.instances[0].id,
1743
+ listAll: true
1744
+ }
1745
$.ajax({
- url: createURL("listVolumes&virtualmachineid=" + args.context.instances[0].id),
1746
+ url: createURL("listVolumes"),
1747
dataType: "json",
1748
+ data: data,
1749
async: false,
1750
success: function(json) {
1751
var volumes = json.listvolumesresponse.volume;
@@ -1752,7 +1757,7 @@
1752
1757
});
1753
1758
}
1754
1759
1755
- var data = {
1760
+ data = {
1756
1761
'virtualmachineid': args.context.instances[0].id,
1762
'migrateto[0].volume': rootVolume.id,
1763
'migrateto[0].pool': args.data.storageId
0 commit comments