Skip to content

Commit

Permalink
Remove empty function set_container_facts_if_unset.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdillon committed Oct 15, 2018
1 parent 4884219 commit fe54a6d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions roles/openshift_facts/library/openshift_facts.py
Expand Up @@ -1248,20 +1248,6 @@ def set_buildoverrides_facts(facts):
return facts


# pylint: disable=too-many-statements
def set_container_facts_if_unset(facts):
""" Set containerized facts.
Args:
facts (dict): existing facts
Returns:
dict: the facts dict updated with the generated containerization
facts
"""

return facts


def pop_obsolete_local_facts(local_facts):
"""Remove unused keys from local_facts"""
keys_to_remove = {
Expand Down Expand Up @@ -1383,7 +1369,6 @@ def generate_facts(self,
facts = set_identity_providers_if_unset(facts)
facts = set_deployment_facts_if_unset(facts)
facts = set_sdn_facts_if_unset(facts, self.system_facts)
facts = set_container_facts_if_unset(facts)
facts = build_controller_args(facts)
facts = build_api_server_args(facts)
facts = set_version_facts_if_unset(facts)
Expand Down

0 comments on commit fe54a6d

Please sign in to comment.