From ef5172d36a1932b78313ea0f0410418ce734ea92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Str=C3=A4hle?= Date: Fri, 31 May 2024 13:25:36 +0200 Subject: [PATCH] Fix CRDGeneratorCLI after rebase --- .../java/io/fabric8/crd/generator/cli/CRDGeneratorCLI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {