Skip to content

Commit

Permalink
Rename elasticjob-lifecycle module name
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Oct 15, 2023
1 parent 9425110 commit 00abb85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private boolean isHasShardingFlag(final JobNodePath jobNodePath, final List<Stri
shardingInstances.add(instanceId);
}
}
return !instances.containsAll(shardingInstances) || shardingInstances.isEmpty();
return !new HashSet<>(instances).containsAll(shardingInstances) || shardingInstances.isEmpty();
}

private int getJobInstanceCount(final String jobName) {
Expand Down

0 comments on commit 00abb85

Please sign in to comment.