This commit is contained in:
parent
643da34c4f
commit
318709f2fa
|
@ -12,7 +12,7 @@ client.ping({
|
||||||
|
|
||||||
// Undocumented params are appended to the query string
|
// Undocumented params are appended to the query string
|
||||||
hello: 'elasticsearch!'
|
hello: 'elasticsearch!'
|
||||||
}, error => {
|
} as any, error => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error('elasticsearch is down!');
|
console.error('elasticsearch is down!');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue