Skip to content

Commit

Permalink
Merge pull request #566 from perftool-incubator/quit-wrong-cdm
Browse files Browse the repository at this point in the history
Need to exit when can't support cdm ver
  • Loading branch information
k-rister authored Nov 9, 2024
2 parents eb725df + 5faf6e2 commit 36f0751
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rickshaw-index
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ if (not grep(/^$cdm{'ver'}$/, @suported_cdm_vers)) {
printf "The version of CDM used in OpenSearch [%s] is not one that is supported by rickshaw-index: [%s]\n",
$cdm{'ver'}, join(" ", @suported_cdm_vers);
printf "Either use an older version of CDM or (ideally) find a newer version of rickshaw which supports %s\n", $cdm{'ver'};
exit 1;
}
printf "Exporting from %s to OpenSearch documents and POSTing to localhost:9200\n", $result_file;

Expand Down

0 comments on commit 36f0751

Please sign in to comment.