diff --git a/crd-generator/cli/src/main/java/io/fabric8/crd/generator/cli/CRDGeneratorCLI.java b/crd-generator/cli/src/main/java/io/fabric8/crd/generator/cli/CRDGeneratorCLI.java index 7c1082d7fbb..e591b5ba9db 100644 --- a/crd-generator/cli/src/main/java/io/fabric8/crd/generator/cli/CRDGeneratorCLI.java +++ b/crd-generator/cli/src/main/java/io/fabric8/crd/generator/cli/CRDGeneratorCLI.java @@ -113,9 +113,9 @@ public void run() { .withIncludePackages(includedPackages) .withExcludePackages(excludedPackages); - Class[] customResourceClasses = customResourceCollector.findCustomResourceClasses(); + List> customResourceClasses = customResourceCollector.findCustomResourceClasses(); - log.info("Found {} CustomResources", customResourceClasses.length); + log.info("Found {} CustomResources", customResourceClasses.size()); File sanitizedOutputDirectory; try {