brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <>
Subject [GitHub] incubator-brooklyn pull request: add the creation of default datab...
Date Tue, 18 Aug 2015 11:10:30 GMT
Github user sjcorbett commented on a diff in the pull request:
    --- Diff: software/database/src/main/java/org/apache/brooklyn/entity/database/postgresql/
    @@ -294,7 +294,9 @@ public void customize() {
             // Wait for commands to complete before running the creation script
    +        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 or file a JIRA ticket
with INFRA.

View raw message