Browse Source

Merge pull request #527 from spinolacastro/metrics_fix

Make cluster_metrics disabled by default
Wesley Hearn 9 years ago
parent
commit
e6c157be12
1 changed files with 1 additions and 2 deletions
  1. 1 2
      roles/openshift_facts/library/openshift_facts.py

+ 1 - 2
roles/openshift_facts/library/openshift_facts.py

@@ -335,9 +335,8 @@ def set_metrics_facts_if_unset(facts):
 
     """
     if 'common' in facts:
-        deployment_type = facts['common']['deployment_type']
         if 'use_cluster_metrics' not in facts['common']:
-            use_cluster_metrics = True if deployment_type == 'origin' else False
+            use_cluster_metrics = False
             facts['common']['use_cluster_metrics'] = use_cluster_metrics
     return facts