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() {
61
61
}
62
62
63
63
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" ));
70
65
}
71
66
72
67
public static boolean debugThreadPool () {
73
- return getBooleanEnvProperty ( DEBUG_THREAD_POOL_ENV_KEY );
68
+ return Boolean . getBoolean ( System . getProperty ( DEBUG_THREAD_POOL_ENV_KEY , "false" ) );
74
69
}
75
70
}
You can’t perform that action at this time.
0 commit comments