Skip to content

Commit 3754439

Browse files
committed
API generation
1 parent 12e88d6 commit 3754439

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

api/api/indices.put_mapping.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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-
>>>>>>> 349b832... Support for deprecated paths (#828)
131121
}
132122

133123
// build request object

api/api/nodes.hot_threads.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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-
>>>>>>> 349b832... 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
}

0 commit comments

Comments
 (0)