You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ad...@apache.org on 2017/12/15 17:06:01 UTC

ambari git commit: AMBARI-22249. Fix AmbariContext.serviceGroupDependencyResourceProvider initialization (adoroszlai)

Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-14714 27d17cf1e -> f953ceb5a


AMBARI-22249. Fix AmbariContext.serviceGroupDependencyResourceProvider initialization (adoroszlai)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f953ceb5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f953ceb5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f953ceb5

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: f953ceb5a5c0662b37dc6827fc9229818bc6cd8d
Parents: 27d17cf
Author: Doroszlai, Attila <ad...@hortonworks.com>
Authored: Tue Dec 5 10:05:12 2017 +0100
Committer: Doroszlai, Attila <ad...@hortonworks.com>
Committed: Fri Dec 15 18:05:16 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/ambari/server/topology/AmbariContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f953ceb5/ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java b/ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
index f413768..3811848 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
@@ -779,7 +779,7 @@ public class AmbariContext {
 
   private synchronized ServiceGroupDependencyResourceProvider getServiceGroupDependencyResourceProvider() {
     if (serviceGroupDependencyResourceProvider == null) {
-      serviceGroupResourceProvider = (ServiceGroupResourceProvider) ClusterControllerHelper.
+      serviceGroupDependencyResourceProvider = (ServiceGroupDependencyResourceProvider) ClusterControllerHelper.
               getClusterController().ensureResourceProvider(Resource.Type.ServiceGroupDependency);
     }
     return serviceGroupDependencyResourceProvider;