Skip to content

Commit

Permalink
B #3101 multiple entries for a VF nic (#3310)
Browse files Browse the repository at this point in the history
* B #3101 multiple entries for a VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3101: multiple entries for VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3101: multiple entries for VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3101: multiple entries for VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
  • Loading branch information
jloboescalona2 authored and Tino Vázquez committed May 8, 2019
1 parent efc232d commit dc4e630
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 158 deletions.
8 changes: 4 additions & 4 deletions src/sunstone/public/app/opennebula/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,6 @@ define(function(require) {
var nic = element.TEMPLATE.NIC;
var pci = element.TEMPLATE.PCI;
var ips = [];

var monitoring = element.MONITORING;
if (monitoring) {
var externalIP;
Expand Down Expand Up @@ -805,12 +804,13 @@ define(function(require) {
});
});
}

r=null;
if (ips.length > 0) {
return ips.join(divider);
r = ips.join(divider);
} else {
return "--";
r = "--";
}
return r;
};

// Return the Alias or several Aliases of a VM
Expand Down
Loading

0 comments on commit dc4e630

Please sign in to comment.