mirror of https://github.com/apache/cloudstack.git
Merge pull request #903 from nitin-maharana/nitin1
CLOUDSTACK-8928: While adding VMs to LB rule, default NIC IP is always displayed rather than the IP corresponding to the NIC where LB is being createdWhile calling the listNics API, instead of sending the default nic id as parameter, it should send the network id as a parameter. So, replaced that nicid parameter as networkid parameter. * pr/903: CLOUDSTACK-8928: While adding VMs to LB rule, default NIC IP is always displayed rather than the IP corresponding to the NIC where LB is being created Signed-off-by: Remi Bergsma <github@remi.nl>
This commit is contained in:
commit
abbdb2ef2f
|
|
@ -173,7 +173,7 @@
|
|||
url: createURL('listNics'),
|
||||
data: {
|
||||
virtualmachineid: instance.id,
|
||||
nicId: instance.nic[0].id
|
||||
networkid: network.id
|
||||
},
|
||||
success: function(json) {
|
||||
var nic = json.listnicsresponse.nic[0];
|
||||
|
|
|
|||
Loading…
Reference in New Issue