mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Removed legacy code function
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
from get_app_conf import get_app_conf
|
||||
|
||||
def is_feature_enabled(applications: dict, feature: str, application_id: str) -> bool:
|
||||
"""
|
||||
Wrapper for compatibility: Return True if applications[application_id].features[feature] is truthy.
|
||||
"""
|
||||
return bool(get_app_conf(applications, application_id, f"features.{feature}", strict=False))
|
||||
|
||||
def get_docker_compose(path_docker_compose_instances: str, application_id: str) -> dict:
|
||||
"""
|
||||
Build the docker_compose dict based on
|
||||
|
Reference in New Issue
Block a user