Skip to content

Commit

Permalink
A demo of redis version tag proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
俞跃 committed Jun 20, 2023
1 parent e486fdb commit 47c00aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext con
if (optional.isPresent()) {
List<RedisType> typeList = Arrays.asList(optional.get().value());
String type = System.getProperty("redisversion");
if (type.isEmpty()) type = "REDIS_UNSTABLE";
if (type == null || type.isEmpty()) type = "REDIS_UNSTABLE";

RedisType Redis_type = null;
try {
Expand Down

0 comments on commit 47c00aa

Please sign in to comment.