fix feature compatibility version check expression (#3546)

This commit is contained in:
Rikin Kachhia 2019-12-17 17:57:33 +05:30 committed by Shahidh K Muhammed
parent 1d482c02dc
commit f0ddbc8420

View File

@ -36,7 +36,7 @@ export const getFeaturesCompatibility = serverVersion => {
Object.keys(featureLaunchVersions).forEach(feature => {
featuresCompatibility[feature] = isValidServerVersion
? semver.satisfies(featureLaunchVersions[feature], '<=' + serverVersion)
? semver.satisfies(serverVersion, '>=' + featureLaunchVersions[feature])
: true;
});