瀏覽代碼

Make cluster_metrics disabled by default

Diego Castro (dscastro) 9 年之前
父節點
當前提交
8f0cd8cfa6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_facts/library/openshift_facts.py

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

@@ -337,7 +337,7 @@ def set_cluster_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