brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grkvlt <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Remove shared statics causing iss...
Date Tue, 02 Jun 2015 23:20:44 GMT
Github user grkvlt commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/671#discussion_r31581298
  
    --- Diff: locations/jclouds/src/main/java/brooklyn/location/jclouds/JcloudsLocation.java
---
    @@ -1502,8 +1504,7 @@ protected UserCreation createUserStatements(@Nullable Image image,
ConfigBag con
                      * if this config key is not set, use a key `brooklyn_id_rsa` and `.pub`
in `MGMT_BASE_DIR`,
                      * with permission 0600, creating it if necessary, and logging the fact
that this was created.
                      */
    -                if (!loggedSshKeysHint && !config.containsKey(PRIVATE_KEY_FILE))
{
    -                    loggedSshKeysHint = true;
    +                if (loggedSshKeysHint.compareAndSet(false, true) && !config.containsKey(PRIVATE_KEY_FILE))
{
    --- End diff --
    
    Right, yes...


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message