Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3968B200BC3 for ; Fri, 18 Nov 2016 17:10:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 37D6F160B04; Fri, 18 Nov 2016 16:10:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A4F77160B03 for ; Fri, 18 Nov 2016 17:10:08 +0100 (CET) Received: (qmail 5710 invoked by uid 500); 18 Nov 2016 16:10:07 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 5689 invoked by uid 99); 18 Nov 2016 16:10:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 16:10:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CE81FE00B3; Fri, 18 Nov 2016 16:10:06 +0000 (UTC) From: aledsage To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org Message-ID: Subject: [GitHub] brooklyn-server pull request #444: BROOKLYN-396: test and fix Content-Type: text/plain Date: Fri, 18 Nov 2016 16:10:06 +0000 (UTC) archived-at: Fri, 18 Nov 2016 16:10:09 -0000 GitHub user aledsage opened a pull request: https://github.com/apache/brooklyn-server/pull/444 BROOKLYN-396: test and fix When rebinding a location, if a config flag corresponds to a field with `@SetFromFlag` then just set the field, and don’t leave the key-value inside `config().getBag()`. Some classes use fields to store internal state, which should not be passed to child locations (e.g. `LocalhostMachineProvisioningLocation.origConfigs`). You can merge this pull request into a Git repository by running: $ git pull https://github.com/aledsage/brooklyn-server BROOKLYN-396 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/brooklyn-server/pull/444.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #444 ---- commit 3563d4794064b2c2eecf516d7fb96c7e1556e478 Author: Aled Sage Date: 2016-11-18T16:07:53Z BROOKLYN-396: test and fix When rebinding a location, if a config flag corresponds to a field with “@SetFromFlag” then just set the field, and don’t leave the key-value inside “config().getBag()”. Some classes use fields to store internal state, which should not be passed to child locations (e.g. `LocalhostMachineProvisioningLocation.origConfigs`). ---- --- 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. ---