mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Code example miss single quotes (#19783)
This commit is contained in:
parent
efc97a7ad0
commit
0945154302
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ other requests. The clients use the {client-ref}/javascript-api/current/index.h
|
|||
Server clients are exposed through the elasticsearch plugin.
|
||||
[source,javascript]
|
||||
----
|
||||
const adminCluster = server.plugins.elasticsearch.getCluster('admin);
|
||||
const dataCluster = server.plugins.elasticsearch.getCluster('data);
|
||||
const adminCluster = server.plugins.elasticsearch.getCluster('admin');
|
||||
const dataCluster = server.plugins.elasticsearch.getCluster('data');
|
||||
|
||||
//ping as the configured elasticsearch.user in kibana.yml
|
||||
adminCluster.callWithInternalUser('ping');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue