Переглянути джерело

AMBARI-1852. Upon clicking Services > Service > Config, a call to "configurations resource is made and the server throws 400. (srimanth)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1466268 13f79535-47bb-0310-9956-ffa450edef68
Srimanth 12 роки тому
батько
коміт
d379779d40
2 змінених файлів з 4 додано та 1 видалено
  1. 3 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/utils/config.js

+ 3 - 0
CHANGES.txt

@@ -670,6 +670,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1852. Upon clicking Services > Service > Config, a call to 
+ "configurations resource is made and the server throws 400. (srimanth)
+
  AMBARI-1851. Ambari Web behaves strangely when there is no Active HBase 
  Master. (srimanth)
 

+ 1 - 1
ambari-web/app/utils/config.js

@@ -584,7 +584,7 @@ App.config = Em.Object.create({
       }
     }
     var params = urlParams.join('|');
-    if(urlParams.length || 1){
+    if(urlParams.length){
       App.ajax.send({
         name: 'config.host_overrides',
         sender: this,