File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -61,15 +61,10 @@ public static boolean isValidateCustomResourcesEnvVarSet() {
6161 }
6262
6363 public static boolean shouldCheckCRDAndValidateLocalModel () {
64- return getBooleanEnvProperty (CHECK_CRD_ENV_KEY );
65- }
66-
67- private static boolean getBooleanEnvProperty (String envKey ) {
68- final var value = System .getProperty (envKey );
69- return value == null || Boolean .getBoolean (value );
64+ return Boolean .getBoolean (System .getProperty (CHECK_CRD_ENV_KEY , "true" ));
7065 }
7166
7267 public static boolean debugThreadPool () {
73- return getBooleanEnvProperty ( DEBUG_THREAD_POOL_ENV_KEY );
68+ return Boolean . getBoolean ( System . getProperty ( DEBUG_THREAD_POOL_ENV_KEY , "false" ) );
7469 }
7570}
You can’t perform that action at this time.
0 commit comments