Using template string instead of concatenation

This commit is contained in:
Shaunak Kashyap 2016-06-10 13:38:10 -07:00
parent 58f9843c64
commit 34258186bf
No known key found for this signature in database
GPG key ID: 0512E188DDE4FF2A

View file

@ -25,7 +25,7 @@ export default function setupSettings(kbnServer, server, config) {
function userSettingsNotFound(kibanaVersion) {
if (server.plugins.elasticsearch.status.state === 'green') {
server.plugins.kibana.status.red('Could not find user-provided settings for this version of Kibana (' + kibanaVersion + ')');
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');
}