Skip to content

Commit

Permalink
add comment: Incompatibility message takes precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Jan 30, 2020
1 parent b120ef3 commit 164324d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export function mapNodesVersionCompatibility(
// Ignore version qualifiers https://github.com/elastic/elasticsearch/issues/36859
const warningNodes = nodes.filter(node => !esVersionEqualsKibana(node.version, kibanaVersion));

// Note: If incompatible and warning nodes are present `message` only contains
// an incompatibility notice.
let message;
if (incompatibleNodes.length > 0) {
const incompatibleNodeNames = incompatibleNodes.map(node => node.name).join(', ');
Expand Down

0 comments on commit 164324d

Please sign in to comment.