We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f2fdf4 commit c099e6aCopy full SHA for c099e6a
api/cluster/health.js
@@ -51,7 +51,7 @@ function healthFunc(params, options, callback) {
51
let { body, index, ...querystring } = params;
52
index = parsePathParam(index);
53
54
- const path = ['/_cluster/health/', index].filter(c => c).join('').replace('//', '/');
+ const path = ['/_cluster/health', index].filter(c => c).join('/');
55
const method = 'GET';
56
body = body || '';
57
0 commit comments