Prechádzať zdrojové kódy

AMBARI-7370 yarn.admin.acl property showing up in compare but it's not set in versions. (atkach)

atkach 10 rokov pred
rodič
commit
9efa63da0e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      ambari-web/app/utils/config.js

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

@@ -364,7 +364,7 @@ App.config = Em.Object.create({
           // in case when config is absent on server and defined UI config is required
           // by server, this config should be ignored
           var serverProperty = properties[serviceConfigObj.get('name')];
-          if (!serverProperty && serviceConfigObj.get('isRequiredByAgent')) {
+          if (Em.isNone(serverProperty) && serviceConfigObj.get('isRequiredByAgent')) {
             continue;
           }
         }