Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B #3101 multiple entries for a VF nic #3310

Merged
merged 4 commits into from
May 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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