mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Merge pull request #7428 from ycombinator/gh-7424
Don't turn Kibana plugin red if Kibana index is not yet ready
This commit is contained in:
commit
5cf440c19a
1 changed files with 5 additions and 2 deletions
|
@ -24,8 +24,11 @@ export default function setupSettings(kbnServer, server, config) {
|
|||
}
|
||||
|
||||
function userSettingsNotFound(kibanaVersion) {
|
||||
const message = 'Could not find user-provided settings for this version of Kibana (' + kibanaVersion + ')';
|
||||
server.plugins.kibana.status.red(message);
|
||||
if (server.plugins.elasticsearch.status.state === 'green') {
|
||||
server.plugins.kibana.status.red(`Could not find user-provided settings for this version of Kibana (${kibanaVersion})`);
|
||||
} else {
|
||||
server.log(['warning', 'settings'], 'User-provided settings were requested before the Kibana index was ready');
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue