File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -111,23 +111,13 @@ function buildIndicesPutMapping (opts) {
111
111
} else if ( ( index ) != null && ( type ) != null ) {
112
112
path = '/' + encodeURIComponent ( index ) + '/' + '_mappings' + '/' + encodeURIComponent ( type )
113
113
} else if ( ( type ) != null ) {
114
- < << << << HEAD
115
114
path = '/' + '_mapping' + '/' + encodeURIComponent ( type )
116
115
} else if ( ( type ) != null ) {
117
116
path = '/' + '_mappings' + '/' + encodeURIComponent ( type )
118
117
} else if ( ( index ) != null ) {
119
118
path = '/' + encodeURIComponent ( index ) + '/' + '_mappings'
120
119
} else {
121
120
path = '/' + encodeURIComponent ( index ) + '/' + '_mapping'
122
- === = ===
123
- path = '/' + '_mappings' + '/' + encodeURIComponent ( type )
124
- } else if ( ( type ) != null ) {
125
- path = '/' + '_mapping' + '/' + encodeURIComponent ( type )
126
- } else if ( ( index ) != null ) {
127
- path = '/' + encodeURIComponent ( index ) + '/' + '_mapping'
128
- } else {
129
- path = '/' + encodeURIComponent ( index ) + '/' + '_mappings'
130
- >>> > >>> 349 b832 ... Support for deprecated paths ( #828 )
131
121
}
132
122
133
123
// build request object
Original file line number Diff line number Diff line change @@ -101,14 +101,9 @@ function buildNodesHotThreads (opts) {
101
101
} else if ( ( node_id || nodeId ) != null ) {
102
102
path = '/' + '_cluster' + '/' + 'nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hot_threads'
103
103
} else if ( ( node_id || nodeId ) != null ) {
104
- < << << << HEAD
105
104
path = '/' + '_nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hotthreads'
106
105
} else if ( ( node_id || nodeId ) != null ) {
107
- === === =
108
- >>> >>> > 349 b832 ... Support for deprecated paths ( #828 )
109
106
path = '/' + '_nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hot_threads'
110
- } else if ( ( node_id || nodeId ) != null ) {
111
- path = '/' + '_nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hotthreads'
112
107
} else {
113
108
path = '/' + '_cluster' + '/' + 'nodes' + '/' + 'hotthreads'
114
109
}
You can’t perform that action at this time.
0 commit comments