You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2022/06/24 15:56:35 UTC

[brooklyn-ui] branch master updated: clear initializers on reset of entity/blueprint

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new b41d064e clear initializers on reset of entity/blueprint
b41d064e is described below

commit b41d064ecdea326852f09e4d055f2c7fabe95442
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Fri Jun 24 16:55:26 2022 +0100

    clear initializers on reset of entity/blueprint
---
 ui-modules/blueprint-composer/app/components/util/model/entity.model.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui-modules/blueprint-composer/app/components/util/model/entity.model.js b/ui-modules/blueprint-composer/app/components/util/model/entity.model.js
index c32326a8..904beb36 100644
--- a/ui-modules/blueprint-composer/app/components/util/model/entity.model.js
+++ b/ui-modules/blueprint-composer/app/components/util/model/entity.model.js
@@ -1060,6 +1060,7 @@ function resetEntity() {
     CONFIG.set(this, new Map());
     PARAMETERS.set(this, []);
     METADATA.set(this, new Map());
+    INITIALIZERS.set(this, new Map());
     ENRICHERS.set(this, new Map());
     POLICIES.set(this, new Map());
     CHILDREN.set(this, []);