This is an automated email from the ASF dual-hosted git repository.

pzampino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 8cc1d5b  KNOX-2152 - Disable Ambari cluster configuration monitoring 
by default (#225)
8cc1d5b is described below

commit 8cc1d5bf3be8e7bb7395df00834cbccc29e69b01
Author: Phil Zampino <[email protected]>
AuthorDate: Wed Dec 18 21:24:01 2019 -0500

    KNOX-2152 - Disable Ambari cluster configuration monitoring by default 
(#225)
---
 .../java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
 
b/gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
index 342628b..19741c8 100644
--- 
a/gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
+++ 
b/gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
@@ -953,7 +953,7 @@ public class GatewayConfigImpl extends Configuration 
implements GatewayConfig {
 
   @Override
   public boolean isClusterMonitorEnabled(String type) {
-    return getBoolean(CLUSTER_CONFIG_MONITOR_PREFIX + 
type.toLowerCase(Locale.ROOT) + CLUSTER_CONFIG_MONITOR_ENABLED_SUFFIX, true);
+    return getBoolean(CLUSTER_CONFIG_MONITOR_PREFIX + 
type.toLowerCase(Locale.ROOT) + CLUSTER_CONFIG_MONITOR_ENABLED_SUFFIX, false);
   }
 
   @Override

Reply via email to