File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 48
48
search_info . machine_regexp ) ;
49
49
}
50
50
51
- $ . getJSON ( ts_url + "/fields/" , function ( resp ) {
52
- var fields = resp . fields ;
53
- var cols = [ ] ;
54
- cols . push ( {
51
+ var field_info = getValue ( ts_url + "/fields/" ) ;
52
+
53
+ var fields = field_info . fields ;
54
+ var cols = [ ] ;
55
+ cols . push ( {
55
56
id : "machine_name" ,
56
57
alias : "Machine Name" ,
57
58
dataType : tableau . dataTypeEnum . string
86
87
} ) ;
87
88
var tableSchema = {
88
89
id : "lnt_machine_feed" ,
89
- alias : "Performance Data from " + resp . generated_by ,
90
+ alias : "Performance Data from " + field_info . generated_by ,
90
91
columns : cols ,
91
92
incrementColumnId : "run_id"
92
- } ;
93
- schemaCallback ( [ tableSchema ] ) ;
94
- } ) ;
95
- } ;
93
+ } ;
94
+ schemaCallback ( [ tableSchema ] ) ;
95
+ }
96
+
96
97
97
98
// Download the data.
98
99
myConnector . getData = function ( table , doneCallback ) {
You can’t perform that action at this time.
0 commit comments