brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #462: Inherit config default values
Date Mon, 13 Feb 2017 13:51:12 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/462#discussion_r100796338
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/mgmt/EntityManagementUtils.java
---
    @@ -255,8 +255,9 @@ private static void mergeWrapperParentSpecToChildEntity(EntitySpec<?
extends App
             wrappedChild.locationSpecs(wrapperParent.getLocationSpecs());
             wrappedChild.locations(wrapperParent.getLocations());
             
    -        if (!wrapperParent.getParameters().isEmpty())
    -            wrappedChild.parametersReplace(wrapperParent.getParameters());
    +        if (!wrapperParent.getParameters().isEmpty()) {
    +            wrappedChild.parametersAdd(wrapperParent.getParameters());
    --- End diff --
    
    good spot


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