cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Fix site-to-site VPN feature
Date Fri, 14 Aug 2015 08:26:04 GMT
Github user DaanHoogland commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/693#discussion_r37057824
  
    --- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsFile.py ---
    @@ -114,7 +114,10 @@ def greplace(self, search, replace):
     
         def search(self, search, replace):
             found = False
    -        logging.debug("Searching for %s and replacing with %s" % (search, replace))
    +        replace_filtered = replace
    +        if re.search("PSK \"", replace):
    +            replace_filtered = re.sub(r'".*"', '"****"', replace)
    +        logging.debug("Searching for %s and replacing with %s" % (search, replace_filtered))
    --- End diff --
    
    "Searching for %s and replacing the value following it with %s" would be closer to the
truth


---
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