You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2014/10/06 23:13:01 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk 80bceaf3a -> 4a4b0e693


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/4a4b0e69
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4a4b0e69
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4a4b0e69

Branch: refs/heads/trunk
Commit: 4a4b0e69353d9cc675632e71f31c9c90db337166
Parents: 80bceaf
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Mon Oct 6 14:09:07 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Mon Oct 6 14:09:07 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/4a4b0e69/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;