Skip to content

Commit 68e5469

Browse files
committed
log warning crd not found
1 parent 5cbd792 commit 68e5469

File tree

1 file changed

+1
-3
lines changed
  • operator-framework-spring-boot-starter-test/src/main/java/io/javaoperatorsdk/operator/springboot/starter/test

1 file changed

+1
-3
lines changed

operator-framework-spring-boot-starter-test/src/main/java/io/javaoperatorsdk/operator/springboot/starter/test/TestConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public KubernetesClient kubernetesClient(KubernetesMockServer server) {
4848
crdPath -> {
4949
CustomResourceDefinition crd = null;
5050
try {
51-
crd =
52-
Serialization.unmarshal(
53-
new FileInputStream(ResourceUtils.getFile(crdPath)));
51+
crd = Serialization.unmarshal(new FileInputStream(ResourceUtils.getFile(crdPath)));
5452
} catch (FileNotFoundException e) {
5553
log.warn("CRD with path {} not found!", crdPath);
5654
e.printStackTrace();

0 commit comments

Comments
 (0)