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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]