The angular service was removed in #13000
This commit is contained in:
parent
4a47c03190
commit
6a9a20f9ec
|
@ -31,9 +31,8 @@ Browser clients are exposed through AngularJS services.
|
|||
[source,javascript]
|
||||
----
|
||||
uiModules.get('kibana')
|
||||
.run(function (esAdmin, es) {
|
||||
.run(function (es) {
|
||||
es.ping()
|
||||
.then(() => esAdmin.ping())
|
||||
.catch(err => {
|
||||
console.log('error pinging servers');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue