mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Missed a null check
This commit is contained in:
parent
56070c644b
commit
68ce3f56ac
@ -65,12 +65,15 @@ public class DbProperties {
|
||||
if ( is == null ) {
|
||||
is = PropertiesUtil.openStreamFromURL("db.properties");
|
||||
}
|
||||
|
||||
if ( is == null ) {
|
||||
System.err.println("Failed to find db.properties");
|
||||
log.error("Failed to find db.properties");
|
||||
}
|
||||
|
||||
dbProps.load(is);
|
||||
if ( is != null ) {
|
||||
dbProps.load(is);
|
||||
}
|
||||
|
||||
EncryptionSecretKeyChecker checker = new EncryptionSecretKeyChecker();
|
||||
checker.check(dbProps);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user