Skip to content

Commit

Permalink
fix feature compatibility version check expression (#3546)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikinsk authored and shahidhk committed Dec 17, 2019
1 parent 1d482c0 commit f0ddbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/src/helpers/versionUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

Expand Down

0 comments on commit f0ddbc8

Please sign in to comment.