Github user sjcorbett commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/832#discussion_r37286980
--- Diff:
software/database/src/main/java/org/apache/brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java
---
@@ -294,7 +294,9 @@ public void customize() {
// Wait for commands to complete before running the creation script
DynamicTasks.waitForLast();
-
+ if(entity.getConfig(PostgreSqlNode.INITIALIZE_DB)){
--- End diff --
This will throw a null pointer exception if `INITIALIZE_DB` is null. You
can avoid this with the slightly ungainly `if
(Boolean.TRUE.equals(getConfig(..))`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---