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) {
111111 } else if ( ( index ) != null && ( type ) != null ) {
112112 path = '/' + encodeURIComponent ( index ) + '/' + '_mappings' + '/' + encodeURIComponent ( type )
113113 } else if ( ( type ) != null ) {
114- < << << << HEAD
115114 path = '/' + '_mapping' + '/' + encodeURIComponent ( type )
116115 } else if ( ( type ) != null ) {
117116 path = '/' + '_mappings' + '/' + encodeURIComponent ( type )
118117 } else if ( ( index ) != null ) {
119118 path = '/' + encodeURIComponent ( index ) + '/' + '_mappings'
120119 } else {
121120 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 )
131121 }
132122
133123 // build request object
Original file line number Diff line number Diff line change @@ -101,14 +101,9 @@ function buildNodesHotThreads (opts) {
101101 } else if ( ( node_id || nodeId ) != null ) {
102102 path = '/' + '_cluster' + '/' + 'nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hot_threads'
103103 } else if ( ( node_id || nodeId ) != null ) {
104- < << << << HEAD
105104 path = '/' + '_nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hotthreads'
106105 } else if ( ( node_id || nodeId ) != null ) {
107- === === =
108- >>> >>> > 349 b832 ... Support for deprecated paths ( #828 )
109106 path = '/' + '_nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hot_threads'
110- } else if ( ( node_id || nodeId ) != null ) {
111- path = '/' + '_nodes' + '/' + encodeURIComponent ( node_id || nodeId ) + '/' + 'hotthreads'
112107 } else {
113108 path = '/' + '_cluster' + '/' + 'nodes' + '/' + 'hotthreads'
114109 }
You can’t perform that action at this time.
0 commit comments