Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana plugin status listeners should execute callback immediately when listener matches current state #4254

Closed
simianhacker opened this issue Jun 16, 2015 · 0 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience PR sent v4.2.0

Comments

@simianhacker
Copy link
Member

When a listener is attached to a plugin's status for a color event and the plugin's current state is the same as the color event, the listener should be executed immediately.

server.plugin.elasticsearch.status.green("Kibana ready");
server.plugin.elasticsearch.status.on('green', function () {
  // Will never get called if the elasticsearch plugin never changes
  // status from green to red and back again.
});
@simianhacker simianhacker changed the title Kibana server status 'on({color} Kibana plugin status listeners should execute callback immediately when listener matches current state Jun 16, 2015
@simianhacker simianhacker added v4.2.0 bug Fixes for quality problems that affect the customer experience labels Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience PR sent v4.2.0
Projects
None yet
Development

No branches or pull requests

3 participants