mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
M #~: Fix clusters on VNet Templates (#4187)
(cherry picked from commit a1adf5e064)
This commit is contained in:
1 parent
8b234c2b17
commit
5867555964
2 files changed
+2
-2
No files matched your search
@@ -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)));
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user