Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 522467ea4 -> 473fca01d


AMBARI-7661. Slider View: App types not being returned in API when multiple 
instances present (srimanth)


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

Branch: refs/heads/branch-1.7.0
Commit: 473fca01d64f851aae043207451333f65188466b
Parents: 522467e
Author: Srimanth Gunturi <sgunt...@hortonworks.com>
Authored: Mon Oct 6 14:09:07 2014 -0700
Committer: Srimanth Gunturi <sgunt...@hortonworks.com>
Committed: Mon Oct 6 14:18:23 2014 -0700

----------------------------------------------------------------------
 .../apache/ambari/view/slider/SliderAppsViewControllerImpl.java   | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/473fca01/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
----------------------------------------------------------------------
diff --git 
a/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
 
b/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
index e23fdd6..068ce9c 100644
--- 
a/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
+++ 
b/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
@@ -723,9 +723,6 @@ public class SliderAppsViewControllerImpl implements 
SliderAppsViewController {
   @Override
   public List<SliderAppType> getSliderAppTypes(Set<String> properties) {
     if (appTypes == null) {
-      if (!areViewParametersSet()) {
-        return Collections.emptyList();
-      }
       appTypes = loadAppTypes();
     }
     return appTypes;

Reply via email to