Browse Source

Modify dataset format parameter

Fix the issue that a dataset format is set to None,
even if user specify correctly.

Change-Id: I99d5d084edf9f339400dd44ac2579ff08619d9cf
Closes-Bug: #1662795
changes/31/431231/1
Hiroyuki Eguchi 2 years ago
parent
commit
9acd826f7a

+ 1
- 1
meteos_ui/static/dashboard/machine_learning/model_evaluations/create/model_evaluation-model.js View File

@@ -76,7 +76,7 @@
76 76
       }
77 77
 
78 78
       finalSpec.source_dataset_url = url;
79
-      finalSpec.dataset_format = commonDataset.dataset_format;
79
+      finalSpec.dataset_format = commonDataset.format;
80 80
       finalSpec.swift_tenant = commonDataset.swift_tenant;
81 81
       finalSpec.swift_username = commonDataset.swift_username;
82 82
       finalSpec.swift_password = commonDataset.swift_password;

+ 1
- 1
meteos_ui/static/dashboard/machine_learning/models/create/model-model.js View File

@@ -102,7 +102,7 @@
102 102
       }
103 103
 
104 104
       finalSpec.source_dataset_url = url;
105
-      finalSpec.dataset_format = commonDataset.dataset_format;
105
+      finalSpec.dataset_format = commonDataset.format;
106 106
       finalSpec.swift_tenant = commonDataset.swift_tenant;
107 107
       finalSpec.swift_username = commonDataset.swift_username;
108 108
       finalSpec.swift_password = commonDataset.swift_password;

Loading…
Cancel
Save