ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject git commit: AMBARI-6778. API for controllers returns 500 error.
Date Thu, 07 Aug 2014 17:39:44 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 2585179a8 -> dddbaaabf


AMBARI-6778. API for controllers returns 500 error.


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

Branch: refs/heads/trunk
Commit: dddbaaabf75a8c5095588e7a2d66a39df907cdec
Parents: 2585179
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Thu Aug 7 10:37:54 2014 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Thu Aug 7 10:37:54 2014 -0700

----------------------------------------------------------------------
 .../ambari/server/api/resources/ResourceInstanceFactoryImpl.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dddbaaab/ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
b/ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
index 4787e9c..13fff1d 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
@@ -270,6 +270,7 @@ public class ResourceInstanceFactoryImpl implements ResourceInstanceFactory
{
       case Controller:
         resourceDefinition = new ControllerResourceDefinition(
             ControllerType.getByName(mapIds.get(Resource.Type.Controller)));
+        break;
 
       case ClientConfig:
         resourceDefinition = new ClientConfigResourceDefinition();


Mime
View raw message