def migrate_local_facts(facts):
 migrated_facts = copy.deepcopy(facts)
 migrated_facts = migrate_docker_facts(migrated_facts)
 migrated_facts = migrate_common_facts(migrated_facts)
 migrated_facts = migrate_node_facts(migrated_facts)
 migrated_facts = migrate_hosted_facts(migrated_facts)
 migrated_facts = migrate_admission_plugin_facts(migrated_facts)
 return migrated_facts

def migrate_local_facts ( facts ) : migrated_facts = copy . deepcopy ( facts ) migrated_facts = migrate_docker_facts ( migrated_facts ) migrated_facts = migrate_common_facts ( migrated_facts ) migrated_facts = migrate_node_facts ( migrated_facts ) migrated_facts = migrate_hosted_facts ( migrated_facts ) migrated_facts = migrate_admission_plugin_facts ( migrated_facts ) return migrated_facts
apply migrations of local facts .