mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
VM multiple NICs: Fix broken UI due to API call changes
This commit is contained in:
parent
685a8a72ce
commit
876e93b441
@ -1186,7 +1186,7 @@
|
||||
virtualmachineid: args.context.instances[0].id
|
||||
},
|
||||
success: function(json) {
|
||||
var ips = json.listnics.nic ? json.listnics.nic[0].secondaryip : [];
|
||||
var ips = json.listnicsresponse.nic ? json.listnicsresponse.nic[0].secondaryip : [];
|
||||
|
||||
args.response.success({
|
||||
data: $(ips).map(function(index, ip) {
|
||||
@ -1252,7 +1252,7 @@
|
||||
virtualmachineid: args.context.instances[0].id
|
||||
},
|
||||
success: function(json) {
|
||||
var ips = json.listnics.nic[0].secondaryip
|
||||
var ips = json.listnicsresponse.nic[0].secondaryip
|
||||
|
||||
args.response.success({
|
||||
data: $.grep($(ips).map(function(index, ip) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user