1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #~: Fix clusters on VNet Templates (#4187)

This commit is contained in:
Sergio Betanzos 2020-02-13 17:47:32 +01:00 committed by GitHub
parent 067fa7b5d9
commit a1adf5e064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ define(function(require) {
var clusters = this.clustersTable.retrieveResourceTableSelect();
if (clusters != undefined && clusters.length != 0) {
network_json["CLUSTERS_IDS"] = clusters.join(",");
network_json["CLUSTER_IDS"] = clusters.join(",");
}
$.extend(network_json, CustomTagsTable.retrieve($("#vntemplateCreateContextTab", context)));

View File

@ -58,7 +58,7 @@ define(function(require){
var clusters = [];
if (this.element.TEMPLATE.CLUSTERS != undefined){
clusters = this.element.TEMPLATE.CLUSTERS_IDS.split(",");
clusters = this.element.TEMPLATE.CLUSTER_IDS.split(",");
if (!$.isArray(clusters)){
clusters = [clusters];