OpenSearch/server
Rabi Panda 28f688fbc5
Use Version.compareMajor instead of using equals operator (#1876)
This test fails due to equality check of majors between OpenSearch Version 1.x and LegacyESVersion 7.x. They should be equivalent but in this case the check fails and LegacyVersion.v6.8.x is chosen which was removed in 52508d5.

This change fixes the comparison logic by using `Version.compareMajor` method instead.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
2022-01-10 17:59:08 -08:00
..
licenses Update to log4j 2.17.1 (#1820) 2021-12-28 17:06:42 -05:00
src Use Version.compareMajor instead of using equals operator (#1876) 2022-01-10 17:59:08 -08:00
build.gradle Upgrade to logj4 2.15.0 (#1698) 2021-12-10 13:03:41 -08:00