This commit is contained in:
Aya Morisawa 2017-01-03 06:08:44 +09:00
parent 643da34c4f
commit 318709f2fa
1 changed files with 1 additions and 1 deletions

View File

@ -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!');
} }