You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ho...@apache.org on 2023/03/18 14:32:09 UTC

[ambari] branch trunk updated: AMBARI-25886: Blueprint fails to select configurations (#3658)

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

houyu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9f1addb411 AMBARI-25886: Blueprint fails to select configurations (#3658)
9f1addb411 is described below

commit 9f1addb411c85fe0d2a9a8fc39733de16985e261
Author: Zhiguo Wu <wu...@apache.org>
AuthorDate: Sat Mar 18 22:31:59 2023 +0800

    AMBARI-25886: Blueprint fails to select configurations (#3658)
---
 .../src/main/java/org/apache/ambari/server/state/ConfigImpl.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/ConfigImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/state/ConfigImpl.java
index 8689715a6d..840ab19f54 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/state/ConfigImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/state/ConfigImpl.java
@@ -398,7 +398,7 @@ public class ConfigImpl implements Config {
 
     // save the entity, forcing a flush to ensure the refresh picks up the
     // newest data
-    clusterDAO.merge(entity, true);
+    clusterEntity = clusterDAO.merge(clusterEntity, true);
     LOG.info("Persisted config entity with id {} and cluster entity {}", entity.getConfigId(),
         clusterEntity.toString());
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org