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