summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorWesley Hearn <wesley.s.hearn@gmail.com>2015-08-27 12:57:57 -0400
committerWesley Hearn <wesley.s.hearn@gmail.com>2015-08-27 12:57:57 -0400
commit96d9a943628578979b9cd0cb602bb04947c85466 (patch)
treed144969196c935ef4243ca6daf571be4648723ec /roles/openshift_facts
parent5c7e1366ad8ae67ef23117d296a65a6ee81ccd29 (diff)
parent6437064683947e0006a1613064eff1a07174c196 (diff)
downloadopenshift-96d9a943628578979b9cd0cb602bb04947c85466.tar.gz
openshift-96d9a943628578979b9cd0cb602bb04947c85466.tar.bz2
openshift-96d9a943628578979b9cd0cb602bb04947c85466.tar.xz
openshift-96d9a943628578979b9cd0cb602bb04947c85466.zip
Merge pull request #519 from spinolacastro/fix_broken_tests
Fix broken tests
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index c1c4e1b5c..9fa25d2c2 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -323,7 +323,7 @@ def set_fluentd_facts_if_unset(facts):
facts['common']['use_fluentd'] = use_fluentd
return facts
-def set_cluster_metrics_facts_if_unset(facts):
+def set_metrics_facts_if_unset(facts):
""" Set cluster metrics facts if not already present in facts dict
dict: the facts dict updated with the generated cluster metrics facts if
missing
@@ -718,7 +718,7 @@ class OpenShiftFacts(object):
facts['current_config'] = get_current_config(facts)
facts = set_url_facts_if_unset(facts)
facts = set_fluentd_facts_if_unset(facts)
- facts = set_cluster_metrics_facts_if_unset(facts)
+ facts = set_metrics_facts_if_unset(facts)
facts = set_identity_providers_if_unset(facts)
facts = set_registry_url_if_unset(facts)
facts = set_sdn_facts_if_unset(facts)