Skip to content

Commit f3fecff

Browse files
authored
Fix invalid * in path on Windows (#281)
1 parent 35e03ee commit f3fecff

File tree

1 file changed

+1
-1
lines changed
  • starter/src/main/java/io/javaoperatorsdk/operator/springboot/starter

1 file changed

+1
-1
lines changed

starter/src/main/java/io/javaoperatorsdk/operator/springboot/starter/CRDApplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void apply() {
6161

6262
private Resource[] findResources() {
6363
final var resourceResolver = new PathMatchingResourcePatternResolver();
64-
final var resourceLocationPattern = Paths.get(crdPath, '*' + crdSuffix).toString();
64+
final var resourceLocationPattern = Paths.get(crdPath) + "/*" + crdSuffix;
6565
try {
6666
return resourceResolver.getResources(resourceLocationPattern);
6767
} catch (IOException e) {

0 commit comments

Comments
 (0)