stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imesh <...@git.apache.org>
Subject [GitHub] stratos pull request: Adding PORT_MAPPINGS to payload parameters i...
Date Thu, 13 Aug 2015 03:36:49 GMT
Github user imesh commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/432#discussion_r36938566
  
    --- Diff: components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java
---
    @@ -88,8 +88,7 @@ private static String createPortMappingPayloadString(Cartridge cartridge)
{
             }
     
             for (PortMapping portMapping : portMappings) {
    -            int port = portMapping.getPort();
    -            portMapBuilder.append(port).append("|");
    +            portMapBuilder.append(portMapping.getPort()).append("|");
    --- End diff --
    
    Shall we move character '|' to a constant?


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