Skip to content

Commit d7510fe

Browse files
Merge pull request #188 from wttech/feature/trim-config-items-for-bundel-ignore-check
trim config items for bundle ignore check
2 parents 358cd5f + ebf9b05 commit d7510fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/dev/vml/es/acm/core/instance/HealthChecker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ private void checkBundles(HealthStatus result) {
190190
private boolean isBundleIgnored(Bundle bundle) {
191191
return ArrayUtils.isNotEmpty(config.bundleSymbolicNamesIgnored())
192192
&& Arrays.stream(config.bundleSymbolicNamesIgnored())
193+
.map(String::trim)
193194
.anyMatch(sn -> FilenameUtils.wildcardMatch(bundle.getSymbolicName(), sn));
194195
}
195196

0 commit comments

Comments
 (0)