Skip to content

Commit

Permalink
feat: Merge pull request #214 from pelias/support-hosted-elasticsearch
Browse files Browse the repository at this point in the history
Skip plugin checks on hosted Elasticsearch
  • Loading branch information
orangejulius committed Mar 20, 2017
2 parents f55dc3a + aaf5891 commit d00ca8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/check_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ client.nodes.info( null, function( err, res ){
for( var uid in res.nodes ){

var node = res.nodes[uid];

// Amazon's hosted Elasticsearch does not have the plugins property
// but has the plugins we need
if (!node.plugins) {
continue;
}

console.log( util.format( "\033[1;37mnode '%s' [%s]\033[0m", node.name, uid ) );

// per node failures
Expand Down

0 comments on commit d00ca8a

Please sign in to comment.